Mind the Band: The Hidden Frequency Variable in Geometric RoPE
Organizations: Kim Jaechul Graduate School of Artificial Intelligence, KAIST
Abstract
Geometric rotary position encodings (RoPE) incorporate 3D camera geometry into multi-view attention by rotating token features according to viewing rays, depths, and reprojected image coordinates. Each coordinate is rotated across a progression of frequencies--its frequency band--yet existing implementations leave this band to inherited defaults, either retaining standard 2D RoPE's top frequency or letting the frequency span grow exponentially with the attention head dimension. We show that this unstandardized setting can reverse benchmark rankings. In novel view synthesis on RealEstate10K, RayRoPE matches the strongest baseline in the 47M model (144-channel heads), yet trails by 1.2 dB in the 25M model (48-channel heads), and exhibits the same reversal when varying head size alone at fixed model width. Populating a 243x range with four frequencies instead of the 3x default at 48 channels recovers 0.9 dB of that gap. Across view synthesis and two-view depth estimation, overly narrow bands consistently blur correspondence, whereas all three projection-based encodings perform reliably when their top frequency lies within 0.3--3 rotations per 8-pixel patch (10--90 rotations across 256x256 RealEstate10K). At the opposite extreme, overly wide bands degrade RayRoPE through a forward-backward asymmetry: averaging rotations over a predicted depth interval damps high frequencies in the forward pass, yet leaves their gradients with respect to predicted depth undamped. Blocking only those high-frequency depth gradients recovers 90--93% of the lost PSNR, showing that forward smoothing does not guarantee backward stability. Guided by this analysis, we distill practical guidelines--setting bands in image coordinates, populating spans in small heads, and avoiding unconditional same-view damping--and advocate reporting and matching frequency bands in future multi-view benchmarks.
Figures & tables
| Method | Rays | Freq. | Range | PSNR | SSIM | LPIPS | |
| 47M model, 144-dimensional heads | |||||||
| WorldRoPE | – | 24 | 26.69 | 0.844 | 0.073 | ||
| URoPE | – | 36 | 26.24 | 0.834 | 0.078 | 0.45 | |
| RayRoPE (default) | 3 | 6 | 26.66 | 0.845 | 0.074 | 0.02 | |
| RayRoPE | 1 | 12 | 26.61 | 0.844 | 0.075 | 0.08 | |
| RayRoPE | 1 | 12 | 24.54 | 0.779 | 0.181 | 2.15 | |
| Method | |||
|---|---|---|---|
| RayRoPE [ 45 ] | 23.76 | 22.40 | 23.37 |
| G-ray (RayRoPE) [ 55 ] | 23.81 | 22.48 | 23.27 |
| CRePE [ 13 ] | 23.84 | 22.45 | 23.23 |
| WorldRoPE ∗ [ 15 ] | 23.25 | 23.47 | 23.23 |
| URoPE [ 46 ] | 23.16 | 23.27 | 23.04 |
| Plücker [ 12 ] + 2D RoPE | 21.39 | 21.59 | 21.32 |
| Unified codebase | Official code | |||||
|---|---|---|---|---|---|---|
| Rays | Freq. | Range | Depth | Inverse | Depth | Inverse |
| 3 | 6 | 26.36 | 26.37 | 26.59 | 26.66 | |
| 1 | 12 | 25.32 | 25.68 | 24.90 | 25.22 | |
| 1 | 12 | 26.30 | 26.20 | 26.59 | 26.61 | |
| Method | Image-plane coordinate | Rule | Highest | ||||
|---|---|---|---|---|---|---|---|
| 2D axial RoPE | patch index | highest fixed | 12 / 68 | 24 / 83 | 36 / 88 | 48 / 91 | 0.16 |
| GTA, PRoPE, DPPE | patch index | highest fixed | 6 / 46 | 12 / 68 | 18 / 77 | 24 / 83 | 0.16 |
| UCPE | patch index | highest fixed | 6 / 46 | 12 / 68 | 18 / 77 | 24 / 83 | 0.16 |
| Wei et al. † | ray angle | highest fixed | 6 / 46 | 12 / 68 | 18 / 77 | 24 / 83 | 0.093 |
| SCoPE | patch index | highest fixed | 12 / 68 | 24 / 83 | 36 / 88 | 48 / 91 | 0.16 |
| MeRoPE | patch index | highest fixed | – | – | 12 / 68 | 24 / 83 | 0.16 |
| Paper | Task | Backbone | Width heads | Source | |
|---|---|---|---|---|---|
| RayRoPE [ 45 ] | view synthesis | LVSM, 47M and 150M | 144 | paper | |
| G-ray [ 55 ] | view synthesis | LVSM | 144 | paper (App. A-D, C-B) | |
| POD-RoPE [ 11 ] | view synthesis | LVSM | 144 | paper | |
| POD-RoPE [ 11 ] | depth estimation | UniMatch | 144 | paper | |
| WorldRoPE [ 15 ] | view synthesis | LVSM, 25M | 48 | paper | |
| WorldRoPE [ 15 ] | depth estimation | UniMatch | 48 | paper |
| Method | Rays | Freq. | Range | PSNR | SSIM | LPIPS | PSNR [95% CI] | Wins |
|---|---|---|---|---|---|---|---|---|
| 47M model: width 1152, 8 heads of 144 channels | ||||||||
| WorldRoPE | – | 24 | 26.69 | 0.844 | 0.073 | – | – | |
| URoPE | – | 36 | 26.24 | 0.834 | 0.078 | 0.45 [ 0.47, 0.43] | 21% | |
| RayRoPE (default) | 3 | 6 | 26.66 | 0.845 | 0.074 | 0.02 [ 0.04, 0.01] | 47% | |
| RayRoPE † | 1 | 12 | 24.54 | 0.779 | 0.181 | 2.15 [ 2.18, 2.12] | 3% | |
| RayRoPE | 1 | 12 | 26.12 | 0.833 | 0.083 | 0.56 [ 0.58, 0.55] | 18% | |
| Heads channels | |||
|---|---|---|---|
| WorldRoPE | 26.77 | 26.60 | 26.36 |
| URoPE | 26.26 | 26.08 | 25.69 |
| RayRoPE (default) | 25.55 | 26.30 | 26.22 |
| default range | |||
| RayRoPE, one ray, | 26.40 | 26.40 | 26.25 |
| RayRoPE, | 26.44 † | 26.38 | 26.42 |
| Seed | Machine | Configuration | PSNR | to [95% CI] | Recovery [95% CI] |
|---|---|---|---|---|---|
| 1 | A | 24.54 | 2.07 [ 2.10, 2.04] | – | |
| 1 | A | stop depth grad. (6–11) | 26.47 | 0.14 [ 0.16, 0.13] | 93% [92, 94] |
| 1 | A | 26.61 | – | – | |
| 1 | B | 25.22 | 1.39 [ 1.41, 1.37] † | – | |
| 1 | C | 25.41 | 1.20 [ 1.22, 1.17] † | – | |
| 1 | C | stop depth grad. (6–11) | 26.47 | 0.14 [ 0.16, 0.13] † | 88% [87, 89] † |
| 8-pixel patches | 16-pixel patches | images, 8-pixel patches | |||||||
|---|---|---|---|---|---|---|---|---|---|
| Range | Across image | Per patch | PSNR | to [95% CI] | Per patch | PSNR | to [95% CI] | PSNR | to [95% CI] |
| 0.38 | 0.01 | 25.38 | 1.23 [ 1.26, 1.21] | – | – | – | – | – | |
| 3.4 | 0.11 | 26.38 | 0.23 [ 0.25, 0.22] | – | – | – | – | – | |
| 10 | 0.32 | 26.54 | 0.07 [ 0.09, 0.06] | – | – | – | 24.72 | 0.05 [ 0.06, 0.04] | |
| 18 | – | – | – | 1.10 | 24.97 | 0.18 [ 0.19, 0.17] | 24.66 | 0.10 [ 0.11, 0.09] | |
| 30 | 0.95 | 26.61 | – | 1.90 | 25.15 | – | 24.77 | – | |
| Range | default | |||||
|---|---|---|---|---|---|---|
| Highest (rot./patch) | 0.16 | 0.012 | 0.3 | 1 | 3 | 692 |
| (a) Band sweep (25M: ; 47M: ) | ||||||
| URoPE (25M) | 26.26 | 25.67 | 26.36 | 26.32 | 26.27 | 26.11 |
| WorldRoPE (25M) | 26.77 | 25.75 | 26.67 | 26.79 | 26.65 | 26.46 |
| URoPE (47M) | 26.24 | 25.50 | – | 26.23 | 26.27 | 26.18 |
| WorldRoPE (47M) | 26.69 | 25.51 | – | 26.78 | 26.84 | 26.75 † |
| Method | Rays | Freq. | Range | PSNR | SSIM | LPIPS | PSNR [95% CI] | Wins |
|---|---|---|---|---|---|---|---|---|
| 25M model: width 768, 16 heads of 48 channels | ||||||||
| WorldRoPE | – | 8 | 28.62 | 0.835 | 0.090 | – | – | |
| URoPE | – | 12 | 28.26 | 0.825 | 0.095 | 0.36 [ 0.39, 0.33] | 19% | |
| RayRoPE (default) | 3 | 2 | 27.64 | 0.807 | 0.106 | 0.98 [ 1.03, 0.93] | 8% | |
| RayRoPE † | 1 | 4 | 28.19 | 0.823 | 0.101 | 0.43 [ 0.47, 0.39] | 16% | |
| RayRoPE | 1 | 4 | 28.24 | 0.825 | 0.100 | 0.39 [ 0.43, 0.34] | 18% | |
| ScanNet++ (context target) | RealEstate10K | ||||
| Method | F F | P P | P F | F P | P P |
| Points on the ray at a predicted depth | |||||
| RayRoPE [ 45 ] | 23.76 0.09 | 23.51 0.09 | 23.10 0.07 | 23.84 0.09 | 25.34 0.09 |
| G-ray (RayRoPE) [ 55 ] | 23.81 0.06 | 23.56 0.06 | 23.13 0.05 | 23.91 0.05 | 25.26 0.06 |
| CRePE [ 13 ] | 23.84 0.03 | 23.57 0.04 | 23.15 0.03 | 23.90 0.03 | 25.34 0.08 |
| Projection at depth anchors / mixture | |||||
| Design choice | First option | Second option | ScanNet++ F F | ScanNet++ P P | RealEstate10K |
|---|---|---|---|---|---|
| Where the rotation is applied | queries and keys | also values and outputs | |||
| Image coordinates | patch index | ray angle | |||
| Camera input | camera rays | local ray map [ 43 ] | |||
| Relation between views | camera transformation | reprojection at two depths | |||
| Channels for the cross-view part | 36 of 144 | 72 of 144 | |||
| Highest patch frequency | 0.16 rotation per patch | 0.64 rotation per patch |
| (a) Default bands | ||
|---|---|---|
| RayRoPE family | 6, | 2, |
| RayRoPE | 23.76 0.09 | 22.40 0.04 |
| G-ray (RayRoPE) | 23.81 0.06 | 22.48 0.01 |
| CRePE | 23.84 0.03 | 22.45 0.08 |
| WorldRoPE ∗ | 23.25 0.05 | 23.47 0.06 |
| URoPE | 23.16 0.06 | 23.27 0.03 |
| 1-ray ( ) | F F | P P | P F | F P |
|---|---|---|---|---|
| Three-seed mean SD (PSNR) | ||||
| (orig.) | 23.72 0.15 | 23.44 0.13 | 23.04 0.13 | 23.80 0.15 |
| (matched) | 23.14 0.11 | 22.91 0.08 | 22.48 0.06 | 23.22 0.12 |
| , stop-grad. | 23.58 0.12 | 23.31 0.13 | 22.87 0.12 | 23.65 0.12 |
| Paired PSNR (stop-gradient minus matched ) | ||||
| Seed 0 (B) | +0.67 | +0.61 | +0.58 | +0.67 |
| Model | PSNR | vs. | Recovery [95% CI] |
|---|---|---|---|
| Frequency range | |||
| range (default rule) | 23.36 | 0.88 | 0% (def.) |
| range , second run | 23.39 | 0.85 | 3% [ 1, 8] |
| range | 23.97 | 0.27 | 69% [65, 73] |
| range | 24.13 | 0.11 | 87% [83, 91] |
| range | 24.24 | – | 100% (def.) |
| Modification of the band | Machine | PSNR | to [95% CI] | to [95% CI] | Recovery [95% CI] |
| Unmodified baselines (default rule, seed 1) | |||||
| unmodified , seed 1 | A | 24.54 | – | 2.07 [ 2.10, 2.04] | – |
| seed 1 rerun on B | B | 25.22 | – | 1.39 [ 1.41, 1.37] | – |
| seed 1 rerun on C | C | 25.41 | – | 1.20 [ 1.22, 1.17] | – |
| Mixed-precision interventions (seed 1) | |||||
| stop depth gradient of frequencies 6–11 | A | 26.47 | +1.93 [1.90, 1.96] | 0.14 [ 0.16, 0.13] | 93% [92, 94] |
| Direction | Camera center | Depth | Trained on | PSNR | to [95% CI] | Share of the loss [95% CI] |
| A | 26.61 | – | – | |||
| B | 25.22 | 1.39 [ 1.41, 1.37] | – | |||
| A | 24.54 | 2.07 [ 2.10, 2.04] | – | |||
| B | 25.44 | 1.17 [ 1.19, 1.14] | 84% [83, 85] | |||
| B | 26.51 | 0.10 [ 0.12, 0.09] | 7% [7, 8] | |||
| B | 26.56 | 0.05 [ 0.06, 0.04] | 4% [3, 4] |
| Model | Freq. | , stop-gradient | Recovery [95% CI] | ||
|---|---|---|---|---|---|
| 12 layers | 12 | 23.40 | 24.77 | 24.60 | 88% [85, 90] |
| 4 heads of 288 channels | 24 | 23.28 | 24.03 | 23.91 | 84% [79, 89] |
| width 576, 4 heads | 12 | 23.31 | 23.91 | 23.74 | 72% [66, 77] |
| 16 heads of 72 channels | 6 | 23.32 | 24.29 | 23.93 | 63% [60, 66] |
| 8-pixel patches | 16-pixel patches | |||
| Range | Highest | PSNR | Highest | PSNR |
| 0.01 | 0.02 | |||
| 0.11 | 0.21 | |||
| 0.32 | 0.63 | |||
| 0.55 | 1.10 | |||
| 0.95 | 24.24 dB | 1.90 | 22.96 dB | |
| Model | PSNR | Difference | [95% CI] |
| RayRoPE, range | 25.38 | ||
| RayRoPE, range | 26.29 | vs. : +0.92 | [0.90, 0.93] |
| RayRoPE, range , stop-gradient | 26.13 | vs. : +0.75 | [0.73, 0.77] |
| RayRoPE, 10 frequencies over and 2 above | 26.35 | vs. : +0.06 | [0.04, 0.07] |
| with stop-gradient on the 2 upper frequencies | 26.37 | vs. : +0.08 | [0.07, 0.09] |
| WorldRoPE ∗ , default frequencies | 26.29 | vs. RayRoPE : +0.92 | [0.90, 0.94] |
| Encoding | Freq. | Range | Seeds | Abs Rel | RMSE | Abs Rel per seed | Abs Rel per seed | |
| Single cross-attention head ( ; main paper) | ||||||||
| No encoding | – | – | 2 | 0.140 | 1.044 | 0.827 | 0.139 / 0.142 | |
| with 4 attention heads | – | – | 1 | 0.117 | 0.909 | 0.871 | 0.022 | |
| RayRoPE, 3 rays | 6 | 2 | 0.077 | 0.635 | 0.941 | 0.086 / 0.068; 0.087 | ||
| RayRoPE, 3 rays | 6 | 2 | 0.095 | 0.782 | 0.907 | 0.093 / 0.098; 0.096 | +0.007 / +0.030; +0.008 | |
| RayRoPE, 1 ray | 12 | 2 | 0.084 | 0.675 | 0.932 | 0.085 / 0.084; 0.098 | ||
| Range | Seeds | Abs Rel | RMSE | Abs Rel per seed | Abs Rel per seed | |
|---|---|---|---|---|---|---|
| 2 | 0.098 | 0.790 | 0.901 | 0.096 / 0.101 | +0.020 / +0.025 | |
| 2 | 0.081 | 0.665 | 0.935 | 0.073 / 0.088 | 0.003 / +0.012 | |
| 2 | 0.076 | 0.623 | 0.943 | 0.076 / 0.076; 0.093 | – | |
| 2 | 0.078 | 0.636 | 0.941 | 0.077 / 0.078 | +0.001 / +0.002 | |
| 2 | 0.082 | 0.655 | 0.936 | 0.081 / 0.082 | +0.005 / +0.006 | |
| 2 | 0.084 | 0.675 | 0.932 | 0.085 / 0.084; 0.098 | +0.009 / +0.008; +0.005 |
Rotary Positional Embeddings
Rotary positional embeddings (RoPE) encode token positions by rotating attention features, supporting relative-position reasoning in language and multimodal models.
See all 109 papers