potentialpaper

Parabolic Positional Encoding: A Vision-Centric, Principled, Extrapolatable, and General Approach

Christoffer Koo Øhrstrøm, Rafael I. Cabral Muchacho, Yifei Dong, Filippos Moumtzidellis, Ronja Güldenring, Florian T. Pokorny, Lazaros Nalpantidis

NeurIPS 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

TL;DR. We propose a principled positional encoding for vision modalities by using parabolas and achieve both high extrapolation and generality.

Abstract. We propose Parabolic Positional Encoding (PaPE), a parabola-based positional encoding for vision modalities in attention-based architectures. Given a set of vision tokens–such as from videos, event camera streams, images, or point clouds–our objective is to encode their positions while accounting for the characteristics of vision modalities. Prior works have largely extended positional encodings from 1D-sequences in language to nD-structures in vision, but only with partial account of vision characteristics. We address this gap by designing PaPE from principles distilled from prior work: translation invariance, rotation invariance (PaPE-RI), distance decay, directionality, and context awareness. Extrapolation experiments on ImageNet-1K show how PaPE extrapolates remarkably well, improving in absolute terms by up to 10.5 over the next-best encoding. Generality experiments on 8 datasets across 4 modalities show that PaPE is a general vision positional encoding, as PaPE matches the best baseline on 5 datasets and exceeds all on 2 datasets. The code is available at https://github.com/DTU-PAS/parabolic-position-encoding

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
30 Apr 2026NeurIPS 2026submittedNeurIPS 2026Accept (spotlight)reviews ↓[1]PDF[1]
Missing a version?

NeurIPS 2026

Accept (spotlight) · 3 reviews · OpenReview

Updated 25 Nov 2026, 03:46 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (spotlight)
Read decision
Meta-review

This paper proposes a novel positional encoding for vision transformers. It argues that existing positional encodings, which have largely been adopted from text-based models, are inadequate for vision. The proposed positional encoding (PaPE) uniquely satisfies a number of criteria that make it more suitable for vision. At a high level, it works by representing the pair-wise attention score as a sum of concave parabolas, and it is shown how it is compatible with efficient attention kernels like flash attention.

Looking at the reviews, there are a number of strengths the reviewers highlight, such as the proposed attention formulation, which is clear and intuitive, and nicely decomposes into distance, direction, and semantic terms. Equivalent forms that are compatible with FlashAttention, and are a requirement for practical adoption, are also listed as strength.

However, there are a number of issues highlighted that need follow-up from the authors. In particular:

  • Inadequate baselines for comparing to context-aware position encodings (the reviewer lists a number of suggestions).
  • Missing ablation on the number of parabola's m, and extrapolation beyond training resolution
  • Uncertainty around comparison to RoPE, the reported numbers do not match the originals and the head-size is not enlarged in the comparisons even though PaPE does allocate extra parameters.
  • Computational costs are large and not fully understood. A breakdown of the individual contributions in terms of how much they cost (and how much they contribute to the success of the method) would provide clearer insight into this.
  • Extending the parameter-matched experiments to other datasets and baseline that might benefit from extra parameters (this is related to RoPE comparison, but raised seperately by the final reviewer).

Finally, further discussion is needed around the five principles that were stated as being universally good/important for positional encodings for vision. The first reviewer notes a number of cases where the discussion of the principles can be improved (and thus, what are some limitations of PaPE).

Final justification

This is paper makes a strong contribution. The authors did a good job addressing the reviewer concerns during the rebuttal, and all reviewers recommend accept.

Area Chair peP6 · Meta-reviewOpenReview ↗
Read meta-review
Meta-review

This paper proposes a novel positional encoding for vision transformers. It argues that existing positional encodings, which have largely been adopted from text-based models, are inadequate for vision. The proposed positional encoding (PaPE) uniquely satisfies a number of criteria that make it more suitable for vision. At a high level, it works by representing the pair-wise attention score as a sum of concave parabolas, and it is shown how it is compatible with efficient attention kernels like flash attention.

Looking at the reviews, there are a number of strengths the reviewers highlight, such as the proposed attention formulation, which is clear and intuitive, and nicely decomposes into distance, direction, and semantic terms. Equivalent forms that are compatible with FlashAttention, and are a requirement for practical adoption, are also listed as strength.

However, there are a number of issues highlighted that need follow-up from the authors. In particular:

  • Inadequate baselines for comparing to context-aware position encodings (the reviewer lists a number of suggestions).
  • Missing ablation on the number of parabola's m, and extrapolation beyond training resolution
  • Uncertainty around comparison to RoPE, the reported numbers do not match the originals and the head-size is not enlarged in the comparisons even though PaPE does allocate extra parameters.
  • Computational costs are large and not fully understood. A breakdown of the individual contributions in terms of how much they cost (and how much they contribute to the success of the method) would provide clearer insight into this.
  • Extending the parameter-matched experiments to other datasets and baseline that might benefit from extra parameters (this is related to RoPE comparison, but raised seperately by the final reviewer).

Finally, further discussion is needed around the five principles that were stated as being universally good/important for positional encodings for vision. The first reviewer notes a number of cases where the discussion of the principles can be improved (and thus, what are some limitations of PaPE).

Final justification

This is paper makes a strong contribution. The authors did a good job addressing the reviewer concerns during the rebuttal, and all reviewers recommend accept.

Reviewer 7TL4OpenReview ↗
Rating
5/6
Confidence
4/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This work introduces a new positional encoding, PaPE, tailored to vision applications in 2D and more dimensions. This encoding is based on an additive bias to the attention scores, which is computed as a quadratic function of inter-token distance with input-dependent, learned coefficients. The encoding enjoys a number of favorable properties, such as translation invariance, directionality, and context awareness. Experiments show the efficacy of the approach, as the proposed positional encoding outperforms previous approaches such as RoPE on a number of datasets and settings. The new encoding also shows strong extrapolation to out-of-training resolution on ImageNet.

Strengths and weaknesses

I enjoyed reading this paper; starting from an analysis of prior positional encodings for vision, it derives 5 desiderata that a vision-centric positional encoding could/should fulfill (but that no prior method does), and then discusses how PaPE fulfills these desiderata. Thus, this method fills a hole in the positional encoding landscape. The method is quite intuitive: I especially like that the decomposition of the attention scores into distance, direction, and semantics. Importantly, the authors prominently describe an equivalent formulation of PaPE that is compatible with efficient attention algorithms -- a prerequisite for this method being actually used in practice. As an additional contribution, the authors also discuss a rotation invariant version of PaPE, which could be nice to have for certain applications.

The experiments are broad, covering image, video, 3D point clouds, event cameras, RGB+lidar data, and compared to 5 other positional encoding, including the standard sincos and RoPE encodings. Experiments are run at small scale (ViT-B), which does leave open the question of whether the advantages of this encoding are preserved at scale. PoPE generally outperforms all considered alternative positional encoding. The highlight result is the extrapolation to unseen resolutions (Table 1), where PaPE degrades far less than the other encodings with increasing resolution, and for some resolutions (320-512) actually manages to benefit from the additional information provided by higher image resolutions.

My main concern with the paper is the efficiency overhead of the method and the comparability to baselines. PaPE in the default settings actually adds a lot of parameters (11.1M for ViT-B with 86.3M params), and increases the compute and VRAM significantly (up to 20%). This raises the question on much of the experimental advantage of PaPE stems from the added parameters. While the authors perform a parameter-matched comparison in 5.4, it is only on UCF101 and DvsGesture, and it is questionable how much baselines actually benefit from the added parameters (some scores do not show improvements. Possibly a retuning of hyperparameters is necessary). In addition, the parameter-matched setting should at least be run on ImageNet. Optimally, ALL baseline results in the paper would be in the parameter-matched setting. Another way of showing the superiority of PaPE would be to reduce the parameters of PaPE to match the baselines.

Moreover, the compute and memory overhead of the method should be discussed in the main text (and not only in the appendix), as it's a significant difference to the baselines.

Another concern is the parameter m of the method, which directly affects the number of parameters and compute of the method. Presentation-wise, m is never motivated, and only briefly mentioned in 5.1. The role of m should be discussed in the method section 4. There also should be an ablation on m, showing how performance varies with this parameter.

Regarding ablations: while understandably ablations are performed on the smaller ViT-S scale, it is important to have some of the baselines (sincos, RoPE) on this scale as well, to be able to judge whether PaPE falls below baseline performance without certain components. Moreover, as the extrapolation capabilities are a strength of the method, the ablations should also present the equivalent of Table 1 for each ablation. Similarly, I would like to see the resolution extrapolation in the OOD setting.

Regarding the OOD study: it's great that the authors included this. It would be great to add the ObjectNet dataset as a harder OOD test set.

Overall, I am positive about this paper's contribution, but I do have some remaining concerns regarding the experimental validation and presentation of the weaknesses (the added overhead).

Questions
  • Can you present the parameter-matched setting at least for ImageNet? Can you run a small hyperparameter study for one baseline (e.g. RoPE) to make sure that the baselines can actually benefit from the added parameters?
  • How does PaPE perform when matching the number of parameters of the baseline (reducing the non-PaPE parameters)?
  • Can you clarify the intuition behind the parameter m? How does PaPE perform under different values of m?
  • Can you run the resolution extrapolation study for the different ablations and the OOD datasets?
Limitations
  • Compute and memory overhead should be discussed in the main text and stated as a drawback of the method.
  • Missing validation at scale could be mentioned as a limitation
Final justification

The authors addressed all my concerns in the rebuttal. Significant new results are more details on the extrapolation capabilities (OOD, ablations), ablating the impact of the m parameter, and demonstrating the advantage of PaPE in more fair settings of comparison (parameter-reduced PaPE, parameter-increased RoPE with hyperparameter scan)

Thus I recommend to accept this paper.

Formatting concerns

n/a

4 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for their time and effort in reviewing our work. We are grateful for the praise and genuinely happy to hear that you enjoyed reading the paper. We address each point below, and will incorporate all of these results and clarifications into the camera-ready.

Q1 and Q2: parameter-matched comparisons

Thank you for your comments on how to strengthen the parameter-matching experiments.

How does PaPE perform when matching the number of parameters of the baseline (reducing the non-PaPE parameters)?

We reduce the non-PaPE parameters to match the parameter counts of the baselines by decreasing the hidden size, dd, from 768 to 680, and test this on UCF101 and DvsGesture. Apart from decreasing the hidden size, dd, all other hyperparameters (learning rate, mm, hh, etc.) are shared between full and reduced PaPE. We are also training reduced parameter versions of PaPE on GEN1, ImageNet-1K, and COCO, which we will report as soon as training is finished.

Position Encoding \ Dataset UCF101 DvsGesture GEN1 ImageNet-1K COCO
Reduced PaPE 50.8 ± 0.3 93.8 T T T
Full PaPE 49.5 ± 1.6 93.4 34.8 80.6 38.9
T = Training in progress.

Reduced PaPE matches or slightly exceeds full PaPE on both datasets. We interpret this as evidence against the concern that PaPE's advantage comes from its extra parameters. If that were the case, we would expect the reduced parameter version to underperform the baselines.

Can you run a small hyperparameter study for one baseline (e.g. RoPE) to make sure that the baselines can actually benefit from the added parameters?

To check whether baselines simply need better tuning to use their added parameters effectively, we swept learning rate for parameter-matched RoPE on DvsGesture:

Learning rate 1⋅10−51 \cdot 10^{-5} 3⋅10−53 \cdot 10^{-5} 5⋅10−55 \cdot 10^{-5} 6⋅10−56 \cdot 10^{-5} 1⋅10−41 \cdot 10^{-4} 3⋅10−43 \cdot 10^{-4} 6⋅10−46 \cdot 10^{-4} 1⋅10−31 \cdot 10^{-3} 3⋅10−33 \cdot 10^{-3}
Accuracy 91.3 92.7 93.1 90.3 93.1 67.4 59.4 52.1 28.1

The best parameter-matched RoPE results across this sweep (93.1) does not exceed the value already reported in the main text at the default learning rate, and remains below both full and reduced parameter PaPE. Together, this supports our claim that PaPE's gains stem from the positional encoding itself rather than parameter count.

Can you present the parameter-matched setting at least for ImageNet?

ImageNet-1K is large and the models are currently training. We expect the models to be finished training around July 31st (AoE, anywhere on earth) and we will post the results as soon as they are available. Thank you for your patience.

Q3: ablation of m

Can you clarify the intuition behind the parameter m?

Thank you for asking. We appreciate that mm deserves a stronger motivation in the paper and we will include this in the camera-ready.

In short. mm is not intended to add model capacity (for  m>min(d,p)m > \mathrm{min}(d, p)), but to make optimization easier. Once  m>min(d,p)m > \mathrm{min}(d, p), PaPE has already spanned the representational space it needs and larger mm mainly gives the optimizer more directions to discover useful patterns, rather than attaining greater capacity.

In more detail. We can view WpW_p​ as expressing the pp positional dimensions through mm learned basis functions. As such, mm can ease training by providing more opportunities for exploring different directions than the ones defined by the unprojected pp dimensions. We expand on this view below.

We can consider mm as a bottleneck below and above a threshold of min(d,m)min(d, m).

Below the threshold (m<min(d,m)m < min(d, m)): increasing mm should improve both representational capacity and the optimization landscape, since mm is limiting what the model can express.

Above the threshold (m≥min(d,m)m \ge min(d, m)):

  • In the b term, larger mm can still ease optimization, but doesn't add representational capacity. After training, results are unaffected if WbW_b and WpW_p​ are compressed to a full-rank representation.
  • In the a term, the softplus and quadratic nonlinearities mean larger mm can still help both representation and optimization, though gains are likely bounded since the mm values are aggregated via a dot product.

How does PaPE perform under different values of m?

We will answer it by following the ablation study setup for m∈{2,4,8,16,32,64}m \in \{2, 4, 8, 16, 32, 64 \}. ImageNet-1K is large and we expect full results by July 31st (AoE, anywhere on earth) and will post them as soon as they are available. Based on the intuition above, we expect a plateauing effect with performance increasing with larger mm.

Q4: extrapolation and OOD

Can you run the resolution extrapolation study for the different ablations and the OOD datasets?

This is a very good question and we agree that including such ablation/OOD results will further strengthen our paper.

We have included ObjectNet and find across all 3 OOD datasets that PaPE consistently extrapolates better than every baseline, with absolute gains over the next-best method of up to 9.9% (ImageNetV2), 8.2% (ImageNet-Renditions), and 7.8% (ObjectNet) at the highest tested resolutions (1024x1024):

ImageNetV2:

Position Encoding 224 320 384 448 512 640 768 896 1024
nD-sincos 68.3 64.2 58.1 50.7 42.3 27.1 16.6 10.1 5.6
RoPE 69.2 70.3 69.7 67.9 65.9 60.1 51.8 41.2 29.1
RoPE-Mixed 68.2 69.2 67.7 64.3 59.5 44.2 28.3 17.0 10.4
nD-ALiBi 68.1 69.4 67.7 65.7 63.9 59.4 54.6 49.1 43.4
LookHere 68.9 70.8 70.2 69.5 68.3 65.5 61.0 56.5 51.6
PaPE 69.2 70.9 71.2 70.6 70.1 68.9 66.7 64.5 61.5
PaPE-RI 68.8 69.3 67.9 66.2 64.3 59.5 54.3 48.8 43.1

ImageNet-Renditions:

Position Encoding 224 320 384 448 512 640 768 896 1024
nD-sincos 27.0 18.4 13.3 8.7 5.4 2.5 1.3 0.9 0.4
RoPE 29.2 26.8 24.1 21.2 18.3 12.8 8.3 4.9 2.7
RoPE-Mixed 28.2 24.3 20.2 16.4 12.4 6.3 2.6 1.3 0.8
nD-ALiBi 27.2 24.5 21.2 18.3 16.2 12.8 10.2 8.1 6.2
LookHere 28.6 26.4 23.4 21.1 18.8 15.3 12.1 9.5 7.5
PaPE 29.4 28.0 26.7 25.4 24.3 22.0 19.7 17.8 15.7
PaPE-RI 26.8 22.9 20.3 18.3 16.7 13.0 9.9 7.8 6.1

ObjectNet:

Position Encoding 224 320 384 448 512 640 768 896 1024
nD-sincos 28.9 24.6 20.9 15.1 10.7 5.9 3.5 2.0 1.0
RoPE 31.0 33.2 33.2 32.2 30.0 24.3 18.7 13.4 9.2
RoPE-Mixed 28.5 29.8 28.2 25.6 22.0 13.8 7.6 4.5 2.9
nD-ALiBi 29.2 31.6 30.2 28.9 26.9 23.0 20.0 16.9 14.9
LookHere 29.8 32.3 32.0 31.2 29.9 27.1 24.4 21.6 19.1
PaPE 31.1 34.3 34.8 34.6 34.1 32.6 30.9 28.7 26.9
PaPE-RI 29.4 30.5 30.3 28.7 27.0 23.3 18.7 15.7 13.2

These results are consistent with our in-distribution findings (Table 1). PaPE's extrapolation advantage holds up under distribution shift.

For the ablation-specific extrapolation study, due to storage constraints on our compute cluster, the original ablation checkpoints were not retained. We are currently re-training the ablations. We expect full results by July 31st (AoE, anywhere on earth) and will post them as soon as they are available.

Authors · CommentOpenReview ↗

Update after ImageNet-1K training finished

Update: Thank you for your patience. We present the results and discussion below. We will include the additional results in the camera-ready.

Q1 and Q2: parameter-matched comparisons

How does PaPE perform when matching the number of parameters of the baseline (reducing the non-PaPE parameters)?

We detail below the setting where we reduce the number of parameters of PaPE (hidden size, dd, from 768 to 680) to match the baselines.

Position Encoding UCF101 DvsGesture GEN1 ImageNet-1K COCO
Reduced PaPE 50.8 ± 0.3 93.8 34.9 80.7 38.8
Full PaPE 49.5 ± 1.6 93.4 34.8 80.6 38.9

Reducing the number of non-PaPE parameters does not diminish the performance of PaPE, supporting that PaPE's advantage stems from an improved position encoding and not from increasing the number of parameters.

We also compare the extrapolation results of reduced version:

Position Encoding 224 320 384 448 512 640 768 896 1024
Reduced PaPE 80.7 81.6 81.6 81.5 81.1 80.0 78.5 76.4 73.6
Full PaPE 80.6 81.6 81.7 81.6 81.3 80.5 79.2 77.3 74.9

Reduced PaPE extrapolates slightly worse (73.6 vs 74.9 at 1024$^2$), but the overall pattern is unchanged. In particular, reduced PaPE still extrapolates up to 9.2% better than the next-best baseline (LookHere [18]).

Can you present the parameter-matched setting at least for ImageNet?

We follow the parameter-matching setup described in Sec. 5.4 / Appendix D and increase the parameter count of all baselines to match PaPE. ImageNet-1K results:

Position encoding 224 320 384 448 512 640 768 896 1024
nD-sincos 79.6 76.8 72.7 65.8 58.0 39.5 22.3 11.8 6.9
RoPE 80.2 80.8 80.1 79.0 77.3 72.4 64.3 52.9 39.8
RoPE-Mixed 80.1 80.2 78.3 74.8 69.9 55.2 36.9 22.9 14.7
nD-ALiBi 80.0 80.4 79.9 79.0 77.9 75.2 71.2 65.6 59.1
LookHere 80.4 81.5 81.3 80.8 80.1 78.2 75.2 70.6 65.3
PaPE 80.6 81.6 81.7 81.6 81.3 80.5 79.2 77.3 74.9
PaPE-RI 79.8 80.3 78.2 75.7 73.2 67.7 60.9 53.4 45.7

Matching the parameter count does not change that PaPE comes out on top at the 224$^2$ and still extrapolates noticeably better. The largest baseline increase in extrapolation is for LookHere (64.4 vs 65.3 at 1024$^2$). Even with the increase, PaPE still increases the absolute extrapolation accuracy by up to 9.6%.

Together with the reduced and hyperparameter experiments, we believe this shows that the strong classification extrapolation and generality of PaPE stems from an improved position encoding and not from additional parameters.

Q3: ablation of m

Efficiency. Copied from inference columns of Table 10 in Appendix E. Please see Table 10 for more information.

m Params (M) VRAM (MB) GFLOPS Time (ms)
2 86.9 366 35.5 1.5
4 87.3 369 35.6 1.5
8 88.2 374 35.7 1.5
16 90.0 394 36.1 1.5
32 93.5 416 36.8 1.5
50 97.5 433 37.6 1.6
64 100.6 447 38.2 1.6

Scores and extrapolation.

m 224 320 384 448 512 640 768 896 1024
2 78.7 79.9 79.6 79.1 78.5 77.1 75.2 72.4 69.0
4 78.4 79.5 79.3 78.7 78.0 76.5 74.4 71.6 68.2
8 79.0 79.7 79.4 78.9 78.1 76.4 74.3 71.6 68.2
16 79.1 80.1 80.0 79.5 78.8 77.4 75.3 72.8 69.8
32 78.9 80.1 79.8 79.4 78.7 77.4 75.5 72.8 69.7
50 79.2 80.3 80.1 79.5 78.9 77.5 75.4 72.9 69.8
64 79.0 80.1 79.9 79.4 78.6 77.1 75.1 72.5 69.0

Discussion.

In line with our prior reasoning, we observe a (roughly) plateauing effect (at training resolution 224$^2$) that saturates from around m=16m=16. The effect of mm is small yet there (78.4 at m=4m=4 vs 79.2 at m=50m=50), but it does not affect extrapolation greatly (68.2 at m=4m=4 vs 69.8 at m=50m=50 for 1024$^2$).

We find m=16m=16 to attain a reasonable trade-off between accuracy and efficiency.

Q4: extrapolation

Please see our response to Q1 of reviewer oPmF.

We also report RoPE scores under the ablation setup as requested:

224 320 384 448 512 640 768 896 1024
79.3 80.0 79.0 77.3 75.4 69.1 58.8 45.9 32.4

In this setting, RoPE matches the accuracy of PaPE (79.3 vs 79.2) but the extrapolation capability of RoPE remains inferior to that of PaPE (32.4 vs 69.8 at 1024$^2$).

Reviewer 7TL4 · CommentOpenReview ↗

I thank the authors for their reponse and their additional experiments that strengthen the submission. Please add update the paper with them. I raise my score to 5.

Authors · CommentOpenReview ↗

We are glad to hear that it strengthen the submission, which we agree with. We will be sure to include these additions in the camera-ready.

Thank you for your constructive feedback and for raising the score.

Reviewer oPmFOpenReview ↗
Rating
5/6
Confidence
4/5
Quality
4/4
Clarity
4/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

Vision Transformer-based methods are known to exhibit accuracy degradation when faced with domain gaps, such as different image resolutions or content. To increase model robustness, the present work proposes a principled attention bias scheme in the form of a context-dependent positional encoding scheme.

The proposed Parabolic Positional Encoding (PaPE) adds two bias terms to the classical semantic attention map: (1) a first order term sensitive to the relative direction between the query and the key positions, and (2) a second-order term decaying quadratically with the distance. To increase modeling power, the magnitude of each term is modulated by the semantic content of the query. PaPE is translation invariant, sensitive to (query, key) distance and relative direction, context aware. These properties are conjectured to be desirable in many practical applications. With some additional constraints, the scheme can also be made rotation invariant, leading to an alternative PaPE-RI formulation.

For image classification (ImageNet-1K), PaPE is found to extrapolate better beyond training resolution compared to non-context-aware positional encoding baselines. It also matches or exceeds applicable baselines for various vision tasks and across four modalities (images, videos, event camera streams and point clouds). The method is also found to match the robustness of baselines when evaluated on out-of-distribution image classification, with context awareness showing no detrimental domain overfitting effects.

An ablation study validating the contribution of the distance, directionality and context awareness is presented for image classification. The contribution of elements to extrapolation beyond training resolution is not investigated.

Strengths and weaknesses

Strengths: The proposed formulation is appealing in its simplicity, and clear intuitions are provided for the contributions. The paper is well-structured and easy to follow. All claims are well-supported by experiments, and most questions are addressed by the experiments, such as extrapolation power, generalization across tasks and modalities, and computational efficiency. All information needed to reproduce the results seems to be present in the manuscript.

Weaknesses: Results presented by the authors indicate a moderate, but significant, memory and computational overhead. The cost/benefit should be carefully considered when applying the method in resource-constrained embedded application. To this end, I would be curious to see an ablation in the relative contribution of the components to the (1) the inference cost and (2) the extrapolation capabilities of the method. In particular, context awareness implies costly matrix multiplications that may outweigh the accuracy benefits in embedded applications.

Questions
  1. Did the authors also ablate the method's components with respect to efficiency and extrapolation capabilities? In particular, it would be interesting to know what the cost / generalization benefit is for the context awareness of aia_i and bib_i.

  2. Since the learned bias is context-dependent, one could also potentially fine-tune the PaPE projection matrices WaW_a, WbW_b, WpW_p to the target domain (see the recently emerging Parameter Efficient Fine-Tuning -- PEFT -- methods). One could hence shift bias to the target domain with relatively low risk of overfitting, given the small number of parameters involved. Have the authors also explored this direction?

Limitations

Yes

Final justification

The results provided by the authors add insight into the context awareness/generalization tradeoffs inherent to the proposed approach. Empirical validation is also strengthened by providing a fairer comparison to baselines under matched model capacity assumptions. After taking into account these results and the other reviews, I maintain my recommendation for accepting this work.

Formatting concerns

None noticed.

3 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for their time and effort in reviewing our work. We appreciate the encouraging assessment of our contributions and are glad that the paper's clarity and reproducibility are clear.

Q1: ablation with respect to efficiency and extrapolation

This is a very good question and we agree that including such ablation results will further strengthen our paper.

Due to storage constraints on our compute cluster, the original ablation checkpoints were not retained. We are currently re-training the component-wise ablation, isolating the contribution of context-awareness to (1) inference cost and (2) extrapolation performance. We expect full results by July 31st (AoE, anywhere on earth) and will post them as soon as they are available.

Thank you for your patience.

Q2: parameter-efficient fine-tuning

It is an interesting question that we have not explored in this work.

We expect this to work well by adapting LoRA [1] to fine-tune WaW_a, WbW_b, and WpW_p. We are particularly intrigued by the question of how much one can fine-tune to a new domain by solely fine-tuning the positions and believe that this may give rise to interesting future work. This would not be possible in most other position encodings as context-awareness is a prerequisite for exploring this aspect. Thank you for drawing our attention to this. We will mention it as a promising direction in the camera-ready.

[1] Edward J Hu and Yelong Shen and Phillip Wallis and Zeyuan Allen-Zhu and Yuanzhi Li and Shean Wang and Lu Wang and Weizhu Chen. (2022). LoRA: Low-Rank Adaptation of Large Language Models. ICLR 2022.

Authors · CommentOpenReview ↗

Update after ImageNet-1K training finished

Update: Thank you for your patience. We present the results and discussion on the ablation below. We will include the additional results in the camera-ready.

Q1: ablation with respect to efficiency and extrapolation

Did the authors also ablate the method's components with respect to efficiency and extrapolation capabilities? In particular, it would be interesting to know what the cost / generalization benefit is for the context awareness of aia_i and bib_i.

Efficiency. We measure efficiency the same way as described in Appendix E. The table below reports parameter counts as well as training and inference efficiency for PaPE and each of its component ablations:

Ablation Params (M) Train VRAM (MB) Train GFLOPS Train time (ms) Test VRAM (MB) Test GFLOPS Test time (ms)
PaPE 97.5 1897.2 119.7 14.6 433.2 37.6 1.6
−⟨ai,Δrij⊙2⟩-\langle a_i, \Delta r_{ij}^{\odot 2} \rangle 92.0 1791.1 112.8 13.7 387.7 35.3 1.5
−⟨bi,Δrij⟩- \langle b_i, \Delta r_{ij} \rangle 92.0 1791.2 112.8 13.8 387.9 37.4 1.5
−Wa,Wb- W_a, W_b 86.4 1673 106.6 12.9 362.8 35.3 1.4
−ai- a_i activation 97.5 1900.5 119.7 14.6 433.2 37.6 1.6
−Wp- W_p 86.9 1678.8 106.7 13.1 364.7 35.4 1.5

We observe that context awareness has the greatest impact on efficiency as removing context awareness (−Wa,Wb- W_a, W_b) obtains the lowest parameter count, memory usage, FLOPS, and time for both training and inference. Likewise, removing the position projection (−Wp- W_p) has a similar effect. These are the main drivers of increased resource usage.

The quadratic (−⟨ai,Δrij⊙2⟩-\langle a_i, \Delta r_{ij}^{\odot 2} \rangle) and linear (−⟨bi,Δrij⟩- \langle b_i, \Delta r_{ij} \rangle) terms contribute roughly equally to the increase in resource usage

Extrapolation and discussion.

Ablation \ Size 224 320 384 448 512 640 768 896 1024
PaPE 79.2 80.3 80.1 79.5 78.9 77.5 75.4 72.9 69.8
−⟨ai,Δrij⊙2⟩-\langle a_i, \Delta r_{ij}^{\odot 2} \rangle 77.2 77.4 75.5 72.2 67.9 57.7 47.0 37.7 30.1
−⟨bi,Δrij⟩- \langle b_i, \Delta r_{ij} \rangle 78.7 79.3 78.5 77.4 76.1 73.1 69.5 64.9 59.5
−Wa,Wb- W_a, W_b 78.4 78.9 78.4 77.6 76.6 74.2 71.4 68.1 64.0
−ai- a_i activation 78.6 79.7 79.4 78.4 76.9 71.9 63.5 50.7 36.0
−Wp- W_p 78.9 79.9 79.8 79.4 78.7 77.2 75.4 72.7 69.5

Our primary finding here is that the extrapolation capability is unaffected from removing WpW_p (69.5 vs 69.8 at 1024$^2$). Since WpW_p is one of the main drivers of increased resource usage, this shows that it is possible to maintain the strong extrapolation without the moderate overhead.

However, removing context awareness affects the extrapolation capability (64.0 vs 69.8 at 102421024^2) and so context awareness is a necessary component for the strong extrapolation result.

More generally, we find that the quadratic and linear terms as well as the aia_i activation function all contribute meaningfully to the extrapolation capability.

The quadratic term is particularly important as extrapolation greatly diminishes without it (30.1 vs 69.8 at 1024$^2$). We also see that it is important for the quadratic term to be concave, because removing the aia_i activation leads to similarly poor extrapolation at high resolutions (36.0 vs 69.8 at 1024$^2$). These findings highlight distance decay as an important principle for obtaining strong extrapolation.

Thank you for the suggestion. We consider these findings to strengthen the paper and we will incorporate them into the camera-ready.

Reviewer oPmF · CommentOpenReview ↗

I thank the authors for the additional experiments. Please include them to the camera-ready main or appendix, as I think they provide useful insights. I keep my positive rating.

Reviewer UGkiOpenReview ↗
Rating
4/6
Confidence
4/5
Quality
3/4
Clarity
4/4
Significance
3/4
Originality
4/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper proposes Parabolic Position Encoding (PaPE), a position-encoding scheme designed specifically for Vision Transformers. The authors first argue that position encodings inherited from language modeling fail to capture properties that matter for vision, and they articulate five design principles a vision position encoding should satisfy: translation invariance, rotation invariance, distance decay, directionality, and context awareness. They review absolute, RoPE-based, and attention-bias encodings and contend that no existing method satisfies all five simultaneously.

PaPE represents the pairwise attention score as a sum of m concave parabolas over a learnable linear projection of the relative displacement. Also, a rotation-invariant variant PaPE-RI is obtained by simple constraint. The authors further show PaPE can be rewritten as an inner product of augmented query/key feature maps, so it is compatible with efficient attention kernels that never materialize the full Q·Kᵀ matrix.

The claimed contributions are (1) the PaPE formulation, (2) compatibility with efficient attention kernels, (3) improved classification extrapolation to higher inference resolutions, and (4) generality across modalities.

Strengths and weaknesses

Strengths

The paper does a careful job of distilling what a vision position encoding should do into five concrete principles and then designing an encoding that targets them jointly rather than piecemeal. Casting the relative-position contribution as a sum of concave parabolas is a clean and, to my knowledge, novel formulation. The most practically significant property is that PaPE injects position information without requiring the explicit Q·Kᵀ matrix, preserving compatibility with efficient/IO-aware attention kernels. The additive decomposition into distance, direction, and semantic terms makes the method easy to analyze and interpret, and the rotation-invariant specialization (PaPE-RI) is derived transparently from the general form. Finally, the evaluation spans multiple modalities and an extrapolation/generalization setting, giving reasonable breadth of evidence for the "general" claim.

Weakness

My main reservations concern the universality of the motivation and the completeness/fairness of the empirical evaluation:

  1. The five principles are presented as universal but are task-dependent. Translation and rotation invariance are reasonable for whole-image classification, but for detection and segmentation the location and orientation of an object carry the label (bounding-box coordinates, masks), and for image generation global geometry must be preserved (sky on top, shadows opposite the light source). For dense 3D prediction, orientation is informative rather than nuisance. Framing translation/rotation invariance as general design principles is therefore a logical leap; the paper would be stronger if it scoped these principles to the tasks where they hold and discussed where they should be relaxed.
  2. Baselines are inadequate for evaluating context awareness. Context awareness is a headline property, yet the comparison set is dominated by context-free encodings. Without comparing against context-aware position encodings — e.g., CPVT [1], CvT [2], CoPE [3], and SaPE${}^2$ [4] — it is difficult to attribute the observed gains to context awareness specifically.
  3. No ablation on m. Since the number of parabolas m drives both parameters and compute, the accuracy/cost trade-off and the point of diminishing returns are important and currently unquantified.
  4. The RoPE comparison may be unfair. Section 5.4 / Appendix D justify not enlarging RoPE's head size because that would raise its position-encoding capacity. But PaPE itself allocates extra parameters/capacity for position encoding, so a fair comparison should grant RoPE a matched capacity/parameter budget; as reported, the baseline may be understated.
  5. Reproducibility / unexplained discrepancy in Table 9. The reported numbers for RoPE [40], RoPE-Mixed [24], and LookHere do not match the originals: the cited sources report ~81.6% ImageNet-1K top-1 at ~22M parameters, whereas this paper reports a lower 80.3% with a much larger 86.4M model. This directly affects the comparison and needs explanation.
  6. Missing absolute-PE baseline. Only nD-sincos is included among absolute encodings; the learnable absolute position encoding used in the vanilla ViT should also be reported.

Minor (clarity/notation)

  1. Eq. 1 appears to be a notation error, where the scaling factor for the QKTQK^T should be d\sqrt{d} (dimension size), rather than h\sqrt{h}. Additionally, the variable hh lacks a definition.
  2. In Eq. 10, the scope of the summation operator (∑\sum) is slightly ambiguous. I recommend adding parentheses to clearly indicate which terms are included in the summation.

References

[1] Chu, X., Tian, Z., Zhang, B., Wang, X., & Shen, C. (2023). Conditional Positional Encodings for Vision Transformers. ICLR 2023. https://openreview.net/forum?id=3KWnuT-R1bh

[2] Wu, H., Xiao, B., Codella, N., Liu, M., Dai, X., Yuan, L., & Zhang, L. (2021). Cvt: Introducing convolutions to vision transformers. Proceedings of the IEEE/CVF International Conference on Computer Vision, 22–31.

[3] Golovneva, O., Wang, T., Weston, J., & Sukhbaatar, S. (2024). Contextual Position Encoding: Learning to Count What’s Important. https://arxiv.org/abs/2405.18719

[4] Chen, X., Zhou, S., Huang, M., Feng, J., Xiong, Y., Zhou, K., Yang, B., Zhang, Y., Bao, H., Peng, S., Li, C., & Shi, F. (2025). A 2D Semantic-Aware Position Encoding for Vision Transformers. https://arxiv.org/abs/2505.09466

Questions
  1. Universality of the principles. How do you justify translation and rotation invariance as general design principles given location-/orientation-sensitive tasks (detection, segmentation, generation, dense 3D prediction)? Under what conditions should these invariances be relaxed, and can PaPE be configured to do so?
  2. Context-aware baselines. Can you add comparisons against context-aware position encodings (CPVT, CvT, CoPE, SaPE${}^2$) so the benefit attributed to context awareness is isolated?
  3. Ablation on m. What is the accuracy/cost trade-off as m varies, and where do returns saturate relative to the added parameters and compute?
  4. Fair RoPE comparison. Can you report RoPE (and RoPE-Mixed) under a matched position-encoding capacity / parameter budget rather than fixing head size?
  5. Table 9 discrepancy + missing baseline. Please explain why the RoPE / RoPE-Mixed / LookHere figures fall below the originally reported numbers (e.g., ~81.6% @ 22M vs. 80.3% @ 86.4M here), and add the learnable absolute PE (vanilla ViT) baseline. (Also please confirm √d vs √h in Eq. 1.)

These are the points most likely to change my score during the rebuttal.

Limitations

yes

Final justification

The main issues were the lack of clarification regarding the generality of the proposed method and the absence of comprehensive experiments, particularly comparisons with related work, evaluations under varying token-length scenarios, and experiments on various dense prediction scenarios affecting the fundamental principle of position embedding. These are recurring considerations when assessing the effectiveness of positional embedding methods. The absence of these experiments in the initial manuscript prevented me from assigning a positive score.

However, during the rebuttal period, the authors provided comprehensive additional experiments that strongly support the effectiveness of the proposed positional embedding method and adequately addressed my major concerns. Therefore, I have revised my final recommendation to lean toward acceptance.

Formatting concerns

Eq.10 requires parentheses for a precise expression

4 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for their time and effort in reviewing our work. We believe our responses below will alleviate many of their concerns.

Q1: universality of the principles

How do you justify translation and rotation invariance as general design principles?

Thank you for this question. We would like to clarify our position and expand on the discussion, which we're happy to incorporate into the camera-ready.

We do not claim these principles are universal. We state explicitly that rotation invariance is task-dependent (line 101-102), and we do not claim universality more broadly for the principles (line 90-92). As such, we agree with the reviewer that the 5 principles are not universal. They can be mixed to cover different tasks and cases.

On detection and segmentation. Whether absolute location is needed depends on the architecture. Many detection and segmentation heads (e.g. YOLO, R-CNN, SegFormer) make predictions based on the token location, so the encoder doesn't need to encode the absolute position. For Transformer-based detectors like RT-DETR, we believe translation invariance in the encoder is still useful as the decoder queries carry precise locations, so the encoder is free to use relative positions as long as the decoder's cross-attention also operates on relative positions.

Our experiments support translation invariance for object detection. Across GEN1, COCO, and nuScenes, absolute position baselines (nD-sincos and ViT-PE, see Q5) trail behind the best translation-invariant encodings.

On image generation. We agree that global geometry must be preserved, but we see translation invariance as enabling this. We consider relative relationships (e.g., sky above ground, shadows opposite the light source) to be more difficult to learn under absolute position encodings, since the relationship then depends on where in the frame the objects happen to reside.

Our broader view. Ideally, a vision model's output shouldn't depend on the arbitrary reference frame or numerical convention used to represent a token's position. Preferring invariance to this choice encourages models to focus on task-relevant structure rather than incidental coordinate values. In practice, though, this is a design preference and not a guarantee, as hard invariance doesn't necessarily always translate into better performance or generalization, and we don't claim otherwise.

Under what conditions should these invariances be relaxed?

We see two main conditions where relaxing translation invariance can help:

Limited receptive field. As discussed in Sec. 5.3 (line 274-284), we find absolute positions to be helpful on ScanNet with PointTransformerV3. Our hypothesis is that its context window is too narrow to capture long-range dependencies through relative positions alone, so absolute positions provide a useful signal. We expect this to generalize to other hierarchical models with similarly narrow context windows (e.g., Swin).

Directly predicting coordinates. As discussed above, detection and segmentation heads (e.g., YOLO, R-CNN, SegFormer) often use token location directly when making predictions. In these cases, the encoder does not need to preserve exact position. On the other hand, models like DETR predicts bounding box coordinates directly without anchoring it in token or query locations, making it necessary to relax translation invariance.

For rotation invariance, we expect relaxation to be needed whenever orientation is task-relevant information. For example, tasks where "up" is meaningful (gravity-aligned scenes, text, faces) rather than arbitrary (aerial imagery, object classification from a point cloud).

Can PaPE be configured to do so?

Yes, both invariances can be relaxed.

Relaxing translation invariance. We can include a position dependent term, turning Eqn. 9 into the form below where ci=Wcxic_i = W_c x_i is a context-aware vector to modulate the influence of the absolute position, rir_i:

⟨ai,Δrij⊙2⟩+⟨bi,Δrij⟩+⟨qi,kj⟩+⟨ci,Wpri⟩\langle a_{i}, \Delta r_{ij}^{\odot 2} \rangle + \langle b_{i}, \Delta r_{ij} \rangle + \langle q_{i}, k_{j} \rangle + \langle c_i, W_p r_i \rangle

The final term is position dependent and breaks translation invariance. We can relax its influence through a loss that encourages the norm of cic_i to be close to 0, making it approximately translation invariant, but the model may still learn to use absolute positions when it is useful.

Relaxing rotation invariance. We currently have a rotation-invariant variant (PaPE-RI) and a non-invariant one (PaPE). A relaxed version in between is obtained by regularizing WpW_p​ towards the constrained form used in PaPE-RI (line 139) and regularizing bib_i​ towards 0, recovering PaPE-RI in the limit of strong regularization and unconstrained PaPE without regularization.

Q2: context-aware baselines

Can you add comparisons against context-aware position encodings ...?

Thank you for suggesting this. We find it very useful and are happy to shed more light on this aspect.

We compare CPVT, CVT, and SaPE$^2$, but not CoPE since it is designed exclusively for language and does not admit a straightforward extension to more than one dimension. Unlike PaPE, the 3 context-aware baselines are restricted to 2D grids, making them compatible with only 2 of the 8 datasets that we consider - ImageNet-1K and COCO.

ImageNet-1K is large and the models are currently training. We expect the models to be finished training around the 31st of July AOE and we will post the results when they are ready. However, the COCO models have completed training now and we report [email protected]:0.95:0.05 here:

Position Encoding \ Dataset ImageNet-1K COCO
CPVT T 32.1
CVT T 34.1
SaPE$^2$ T 0.9
PaPE 80.6 38.9
T = Training in progress.

SaPE$^2$ did not converge on COCO and was unstable in this setting. CPVT and CVT trained well, but their performance falls short of PaPE.

Regarding isolating the benefit of context awareness, the ablation study measures this by letting aia_i and bib_i be learnable parameters rather than predicted from the context. We find there that removing context awareness in PaPE results in a 2% drop in accuracy on ImageNet-1K.

Q3: missing m ablation

Thank you for raising this question. We agree that including such an ablation will make our work stronger.

We will answer it by following the ablation study setup for m∈{2,4,8,16,32,64}m \in \{2, 4, 8, 16, 32, 64 \}. As for Q2, we expect the models to be finished training around July 31st (AoE, anywhere on earth) and we will post the results as soon as they are available. Thank you for your patience.

Q4: RoPE comparison

Can you report RoPE (and RoPE-Mixed) under a matched position-encoding capacity / parameter budget rather than fixing head size?

To clarify, we do parameter-match all baselines, including RoPE and RoPE-Mixed, by increasing the query/key head size from 64 to 114 (Appendix D, line 582-583).

We believe the question may stem from our note in line 578-580, that the parameter-matched setting is particularly favorable to RoPE, since a larger head size increases both semantic and positional capacity. To be clear, that note is not a justification for not parameter-matching RoPE. It is matched. It is an observation about why the added parameters behave differently for RoPE (semantic + positional) than for PaPE (positional only), which is relevant for interpreting the comparison.

Q5: table 9 discrepancy, missing baseline, and d vs h

Please explain why the ... figures fall below the originally reported numbers ...

We would like to emphasize that our experiments are designed to create a controlled setting for comparing position encodings. The goal is not to be comparable to the setups of other works. We recognize this makes direct comparison to the original papers imperfect, but our goal is an apples-to-apples comparison across encodings under one fixed training recipe.

As such. we attribute the differences in reported numbers to different training recipes. In particular, we find the following non-exhaustive factors to be significant:

Epochs. RoPE-Mixed [24] follows a 400 epoch DEIT recipe whereas we train for 300 epochs.

Splits. We split the training set into 99% for training and 1% for validation, keeping the original validation set for testing (Appendix I, line 684-686). It is unclear how RoPE-Mixed splits ImageNet-1K into train/val/test. This can have a large effect on reported numbers as the test sets are likely to be different. LookHere [40] uses the same test split as we do, but the train/val split is different, which affects learning.

Augmentations. LookHere [40] employs 3-Augment which we do not.

add the learnable absolute PE (vanilla ViT) baseline

Similar to the context-aware baselines, this baseline is only defined for positions that are discrete and with known bounds. It is therefore only compatible with UCF101, ImageNet-1K, and COCO. As for Q2/Q3, we will report results on ImageNet-1K when it is finished training.

Position Encoding \ Dataset UCF101 ImageNet-1K COCO
ViT-PE 38.3 ± 3.1 T 14.7
PaPE 49.5 ± 1.6 80.6 38.9
T = Training in progress.

We tentatively see that ViT-PE lags behind PaPE by a large margin on both UCF101 and COCO. The results further support the case for translation invariance as ViT-PE is an absolute encoding.

please confirm √d vs √h in Eq. 1.

Thank you for reading our paper carefully and pointing about a potential typo. We define dd as the hidden size in line 79 and hh as the head size in line 80. We will make this more explicit by introducing hh prior to presenting Eqn. 1.

Authors · CommentOpenReview ↗

Update after ImageNet-1K training finished

Update: Thank you for your patience. We present the results and discussion below. We will include the additional experiments in the camera-ready.

All additional experiments have finished training, except for the CPVT baseline. We estimate it to finish training on August 3rd AoE. Therefore, we have also started training a CPVT model using the ablation study setup, which is faster, and we will report those scores if training using the default setup exceeds our estimate.

Q2: context-aware baselines

Can you add comparisons against context-aware position encodings (CPVT, CvT, CoPE, SaPE) so the benefit attributed to context awareness is isolated?

We report the scores for the context-aware baselines in the table below:

Position Encoding \ Dataset ImageNet-1K COCO
CPVT T 32.1
CvT 78.9 34.1
SaPE$^2$ 79.0 0.9
PaPE 80.6 38.9

T = Training in progress.

CvT and SaPE$^2$ trail behind PaPE by 1.6 and 1.5, respectively, on ImageNet-1K and noticeably more so on COCO. As previously noted, SaPE$^2$ did not converge on COCO, resulting in a low 0.9 mAP.

In addition, we report extrapolation results for the context-aware baselines here.

Position Encoding \ Size 224 320 384 448 512 640 768 896 1024
CPVT T T T T T T T T T
CvT 78.9 79.5 79.0 78.2 77.1 73.7 68.4 61.4 53.9
SaPE$^2$ 79.0 78.7 76.7 73.8 70.5 63.6 55.6 47.0 39.1
PaPE 80.6 81.6 81.7 81.6 81.3 80.5 79.2 77.3 74.9

T = Training in progress.

We observe that PaPE extrapolates significantly better than the baselines with up to a 21% improvement over CvT and 35.8% over SaPE$^2$.

The scores and extrapolation results show that while context awareness is important (as we see from the ablation study), it is not sufficient by itself for a strong position encoding.

Q3: missing m ablation

What is the accuracy/cost trade-off as m varies, and where do returns saturate relative to the added parameters and compute?

Please see our response to Q3 of reviewer 7TL4.

Q5: missing baseline

add the learnable absolute PE (vanilla ViT) baseline

The scores for ViT-PE on UCF101, ImageNet-1K, and COCO:

Position Encoding \ Dataset UCF101 ImageNet-1K COCO
ViT-PE 38.3 ± 3.1 79.2 14.7
PaPE 49.5 ± 1.6 80.6 38.9

The ImageNet-1K result is aligned with the results on UCF101 and COCO. ViT-PE consistently lags behind PaPE on all 3 datasets that are supported by ViT-PE.

We also report extrapolation results using ViT-PE where extrapolation is performed using the usual approach of bicubic interpolation on the 2D position grid.

Position Encoding \ Size 224 320 384 448 512 640 768 896 1024
ViT-PE 79.2 79.1 78.1 76.6 75.1 71.7 67.4 62.6 57.3
PaPE 80.6 81.6 81.7 81.6 81.3 80.5 79.2 77.3 74.9

PaPE remains strong at extrapolation with an absolute difference up to 17.6%.

Thank you again for the suggestion. We believe these comparisons strengthen the paper.

Reviewer UGki · CommentOpenReview ↗

Thank you for the detailed rebuttal and additional experiments. The clarification that the design principles are task-dependent, together with the context-awareness ablations and matched-budget comparisons, addresses my main conceptual and empirical concerns. In the revision, please present the relaxed invariance variants as possible extensions unless empirically validated, and clearly label the baseline numbers as controlled reimplementation results.

Authors · CommentOpenReview ↗

We are glad to hear that the clarifications and additional experiments addressed the main conceptual and empirical concerns. The work stands stronger from your feedback and we will include the additional results and discussions in the camera-ready as requested above.

Thank you again for your time and thoughtful feedback.

On a final note: The full CPVT model on ImageNet-1K finished training today and we report the results here as promised:

Scores.

Position Encoding \ Dataset ImageNet-1K COCO
CPVT 79.2 32.1
PaPE 80.6 38.9

Extrapolation.

Position Encoding \ Resolution 224 320 384 448 512 640 768 896 1024
CPVT 79.2 79.6 79.1 78.0 76.6 73.4 68.5 62.9 56.6
PaPE 80.6 81.6 81.7 81.6 81.3 80.5 79.2 77.3 74.9

Similar to the results for CvT and SaPE$^2$, we find that PaPE outperforms CPVT at the training resolution (79.2 vs 80.6) as well as when extrapolation with up to a 18.3% (56.6 vs 74.9 at 1024$^2$) improvement over CPVT. As such, the previous finding regarding the context-aware baselines remains unchanged.

Comments on the paper

1 comment
Authors · CommentOpenReview ↗

Summary of "Author + Reviewer + AC Discussion Period"

We thank the AC and reviewers for their thoughtful and constructive feedback. We believe the paper is stronger as a result, and we will be sure to incorporate the additional results and clarifications into the camera-ready.

We summarize the discussion and highlighted issues below.

Overall

UGki

Concerns and questions: Universality of principles, context-aware baselines, m ablation, RoPE comparison, and comparing scores to baseline papers.

Outcome: The rebuttal addressed all of the concerns with additional results. The reviewer confirmed that the rebuttal "addresses my main conceptual and empirical concerns".

oPmF

Concerns and questions: Missing ablation to better understand efficiency and extrapolation capabilities, as well as a question about exploring PaPE for parameter-efficient fine-tuning.

Outcome: The rebuttal responded to both the concern, with additional results, and the question.

7TL4

Concerns and questions: Parameter-matching, intuition of m and missing ablation of m, and extrapolation on OOD datasets.

Outcome: The rebuttal addressed all of the concerns with additional results. The reviewer raised the score to "5: Accept".

Highlighted issues

We present a brief version of the discussions on the highlighted issue here for convenience. Please see the referenced responses to the questions for full details.

Inadequate baselines (see UGki/Q2, UGki/Q5). Additional baselines (context-aware: CPVT, CvT, SaPE$^2$; standard ViT learned positions) were included. PaPE outperformed all baselines, both in terms of accuracy and extrapolation.

Missing ablation of number of parabolas, m, and ablation of extrapolation (see UGki/Q3, 7TL4/Q3, oPmF/Q1). We reported the ablation of m and clarified the intuition behind m. The ablation showed a plateauing effect in terms of accuracy and we discussed the efficiency vs accuracy trade-off of m. We also found that the choice of m does not have a significant effect on the extrapolation capabilities. The components ablations further showed that all parts of PaPE, except the position projection WpW_p, are important for the strong extrapolation.

Uncertainty around comparison to RoPE (see UGki/Q5). We clarified that our experiments are controlled reimplementations where the position encoding is the only factor that changes, leading to different numbers than reported in the baseline papers as they all have different training setups. We agree with the reviewer to clearly label this in the camera-ready. The rebuttal also clarified that the head size of baselines (including RoPE) is enlarged to match the parameters of PaPE.

Computational costs (see oPmF/Q1). We provided a breakdown of efficiency, accuracy, and extrapolation for each PaPE component. This showed the extrapolation can be preserved with a lower computational costs by removing the position projection (WpW_p) and that all other parts of PaPE are necessary for the strong extrapolation.

Extending parameter-matched experiments (see 7TL4/Q1, 7TL4/Q2). The rebuttal included new results that matched parameters by enlarging the baselines on ImageNet-1K and also matched parameters by reducing the non-PaPE parameters on UCF101, DvsGesture, GEN1, ImageNet-1K, and COCO. In all of these experiments, we found that parameter-matching did not change the original findings. Thus, these additional experiments further support that the success of PaPE (both extrapolation and generality) is due to an improved position encoding rather than an increase in parameters.

Universality of principles (see UGki/Q1). The rebuttal clarified when to relax translation and rotation invariance, as well as provided options for how to relax PaPE, which we agree to include in the camera-ready. We also clarified that we do not claim universality (line 90-92 of main text) and explicitly state rotation invariance as being task-dependent (line 101-102 of main text).

We thank the AC and reviewers again for the valuable feedback, all of which will be reflected in the camera-ready.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Missing a submission?

Loading the discussion…