BitShift-RoPE: Zero-FLOP Relative Positional Encoding for Spiking Neural Network Transformers
Seung-Kyu Hong, Sangheum Hwang, Hyuk-Yoon Kwon
NeurIPS 2026
Abstract. Spiking Neural Networks (SNNs) provide energy-efficient computation by using binary, spike-driven additions, but applying transformer architectures remains challenging because SNNs lack an SNN-compatible positional encoding (PE). Current PE methods either rely on floating-point arithmetic, which destroys the fundamental binary nature of SNNs, or fail to accurately capture relative spatial distances. To overcome this, we introduce Bit Shift Rotary Position Embedding (BitShift-RoPE), a relative PE framework that preserves the binary integrity of SNN queries and keys. By replacing the floating-point trigonometric rotations in standard RoPE with discrete cyclic-shift operations via hardware memory-pointer routing, our method achieves zero-FLOP position encoding. We analytically map multi-scale exponential-decay frequencies to integer shift steps and theoretically extend the formulation to 2D orthogonal spaces to capture spatial structure. Crucially, because the binary integrity of the queries and keys is preserved, the subsequent attention calculations rely solely on sparse bitwise AND operations. Our evaluations across time-series forecasting ( 0.758), text classification (Acc 69.91%), and image classification benchmarks (Acc 84.17%) demonstrate that BitShift-RoPE is consistently at least as good as existing SNN positional encodings while consuming the same energy as the vanilla SNN backbone (0.216 mJ/sample, identical to vanilla Spikformer). The code is available at \url{https://github.com/bigbases/Bit_Shift_RoPE}.
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 paperedit · history
NeurIPS 2026
Accept (poster) · 3 reviews · OpenReview
Updated 25 Nov 2026, 03:47 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
I recommend Accept (poster). The paper's central contribution is genuinely novel and addresses a real, well-motivated gap in SNN Transformer design. The cyclic-shift-as-rotation idea is elegant, theoretically grounded, and offers tangible efficiency benefits for neuromorphic deployment. While the equivalence to RoPE is overstated and the empirical validation of positional encoding effectiveness could be stronger, these are limitations that can be addressed in follow-up work rather than fatal flaws.
Read meta-review
Meta-review
I recommend Accept (poster). The paper's central contribution is genuinely novel and addresses a real, well-motivated gap in SNN Transformer design. The cyclic-shift-as-rotation idea is elegant, theoretically grounded, and offers tangible efficiency benefits for neuromorphic deployment. While the equivalence to RoPE is overstated and the empirical validation of positional encoding effectiveness could be stronger, these are limitations that can be addressed in follow-up work rather than fatal flaws.
1 comment
- Rating
- 4/6
- Confidence
- 4/5
- Quality
- 2/4
- Clarity
- 2/4
- Significance
- 3/4
- Originality
- 4/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper addresses the challenge of efficiently integrating Rotary Positional Encodings into Spiking Neural Networks. Recent prior works have attempted to adapt RoPE to SNNs by altering the Spiking Self-Attention mechanism to rely on integer or XNOR-based operations. This deviates from the traditionally efficient, bitwise-AND-based attention paradigm that aligns better with neuromorphic hardware. To resolve this, the authors propose a novel positional encoding method utilizing cyclic shift matrix operations. By aligning these shifts on a uniform grid and extending them across multiple groups, the method successfully captures the relative rotational power of standard RoPE. The authors evaluate their proposed architecture across three distinct domains: time series forecasting, text classification, and image classification. The empirical results demonstrate that the proposed method achieves performance comparable to existing baselines. More importantly, it does so while maintaining the exact parameter count, operation count, and energy consumption of the backbone Spikformer model. Ultimately, the method keeps the computational graph within the neuromorphic-friendly territory of bitwise-AND and Sum of Products, effectively avoiding the need for floating-point and XNOR operations.
Strengths and weaknesses
Quality
The experimental quality of the submission suffers from a complete lack of uncertainty measures in the tables, making it impossible to evaluate the statistical significance of the performance claims. The time series forecasting results are unconvincing, as the baselines perform on par with the proposed method and the standard transformer upper bound. In Table 3, the considered methods all fall short of the upper bound model with marginal improvements only, which raises questions about whether this specific architectural adjustment is the most effective point of attack for improving Transformer-based SNNs in these domains. Furthermore, the claim that the orthogonal decomposition structure preserves complex geometric information in the spike domain is currently unsubstantiated. Despite these experimental shortcomings, the submission demonstrates good reproducibility, as the authors have provided the code and clearly stated the hyperparameters. Additionally, the extension of the uniform grid cyclic shifts to two-dimensional inputs is a clean and logically sound addition to the architecture.
Clarity
There are significant clarity issues regarding how the authors present their methodology and hardware efficiency. The text misrepresents the efficiency of XNOR operations compared to Sum of Products. According to the Horowitz operation-count model, XNOR operations are actually more efficient than Sum of Products. The additional energy cost in baseline models, Gray-PE and Log-PE, stems from additional floating-point operations rather than the XNOR-based attention itself. Additionally, the authors state that validating their zero-FLOP claim on real neuromorphic hardware is a target for follow-up work. This is highly confusing, as the presence or absence of floating-point operations in a forward pass is a deterministic algorithmic property that should be trivially verifiable without specialized hardware or such implementations. The writing itself also suffers from noticeable AI generation artifacts, particularly an excessive use of colon and semicolon shorthand that disrupts readability. More concerning is the disconnected tone in the results section, where the authors describe their own findings with phrases like "most striking observation" (in regards to their own proposed method) or "the result validates the methodology's claim". This reads as though a third party is summarizing the work, creating confusion about the authors' relationship to their own experiments and implementations.
Significance
The results presented in Table 5 represent the most significant contribution of the paper. Although the proposed model performs on par with existing methods, it successfully keeps the parameter count and energy consumption consistent with the baseline Spikformer. This is a highly valuable result for the neuromorphic computing community.
Originality
The fundamental mathematical approach of using cyclic shift matrices, which act as permutation matrices, to encode relative positional differences is a well-established technique in linear algebra and digital signal processing [1, 2]. Because cyclic shifts naturally capture relative translation invariants, using them on a uniform grid to approximate the relative rotational power of Rotary Positional Encodings is a mathematically logical progression. However, creatively applying this specific substitution within the context of Spiking Neural Networks to avoid floating-point operations and maintain a traditionally SNN-aligned bitwise AND-based Spiking Self Attention mechanism is a novel application to this specific domain.
References
[1] Davis, P. J. (1979). Circulant matrices. Chelsea Publishing.
[2] Oppenheim, A. V., & Schafer, R. W. (1989). Discrete-time signal processing. Prentice-Hall.
Questions
-
Could the authors please provide uncertainty measures, such as standard deviation or standard error the mean, for the measurements in the tables, particularly Tables 2, 3 and 4? Without these metrics, making claims of significance is impossible.
-
Could the authors explain the disconnected language used in the paragraph spanning lines 281 to 286? Describing the exact match in parameter count and FLOPs as the "most striking observation" is highly unusual, given that these metrics are design choices deterministically chosen by the authors themselves and inherent to the algorithmic design rather than being unexpected experimental outcomes. Furthermore, stating that "the result validates the methodology's claim" regarding pre-computed indices again frames a deterministic property as an empirical discovery. The code either pre-computes these indices and routes memory pointers or it does not. This should be a self-evident fact of the implemented codebase, not something validated by an experimental result. This third-party phrasing gives the impression that the algorithm was evaluated as a black box rather than implemented by the authors. Please clarify your role in the implementation, describe how this pre-computation is actually handled in the code, and explain why deterministic algorithmic properties are discussed as surprising empirical results.
-
XNOR operations are more efficient than Sum of Products under the Horowitz model, and it appears the actual energy overhead in Gray-PE and Log-PE comes from additional floating-point operations. Could the authors revise or clarify the discussion regarding XNOR efficiency?
-
The manuscript implies hardware is needed to validate a zero-FLOP forward pass, but this should be determinable purely from the software implementation. Could the authors clarify the zero-FLOP claim? Do you use floating-point operations in the proposed method or not?
-
Could you provide empirical or theoretical support for the claim (lines 260-262), that the orthogonal decomposition structure preserves complex geometric information in the spike domain?
To increase my score during the rebuttal phase, I have two primary requirements. First, the inclusion of uncertainty measures for the experimental tables is essential to properly gauge the statistical significance of the performance claims. Second, I require an explanation regarding the authors' role in the implementation, as the current phrasing treats deterministic algorithmic properties as empirical discoveries and raises concerns about how the code was developed and evaluated.
Limitations
The authors have comprehensively stated the limitations of their work in the appendix, identifying the point estimate and fixed analytical decay constant as the most significant constraints. However, these limitations are entirely relegated to the appendix. The paper would greatly benefit from incorporating a brief limitations section or paragraph directly into the main manuscript to ensure these important caveats are visible to the reader. Additionally, the lack of uncertainty measures on the experimental results serves as a current limitation of the evaluation methodology that needs to be addressed.
Final justification
The rebuttal addressed several of my original concerns, but two issues have carried the most weight in my assessment.
First, the authors have now provided uncertainty estimates over three seeds, which addresses my primary concern regarding the reporting of the experimental results. The subsequent statistical analysis was introduced incrementally during the discussion and included several retrospective analyses, some using observations that the authors acknowledge are not independent. The authors ultimately clarified the experimental structure, appropriately identified these analyses as post-hoc, and narrowed their claims. With only three seeds, the evidence for a general performance improvement over competing positional encodings remains limited. However, I do not consider such an improvement necessary for the main contribution of this work. In this setting, demonstrating that the proposed encoding maintains competitive performance while introducing no additional forward-pass arithmetic on the activations is itself meaningful. My concern was principally that uncertainty be reported and that the strength of the performance claims be commensurate with the evidence.
Second, I was concerned by how the manuscript reasoned about properties of the proposed method. Properties that follow directly from the construction were initially presented as though established through post-hoc software inspection. The first rebuttal response reinforced this concern by relying on operator tracing to establish properties that follow directly from a fixed integer-indexed gather. The later response correctly derives these properties from the algorithm and restricts tracing to verification that the implementation follows the intended execution path. While this substantially clarifies the technical issue, the fact that it persisted through the manuscript and first rebuttal response remains relevant to my assessment of the clarity and rigor of the submission.
The authors also sufficiently corrected the discussion of XNOR efficiency and withdrew the unsupported interpretation of the DVS128-Gesture result. Overall, I consider the clearest contribution to be the ability to introduce the positional encoding without additional learned parameters or arithmetic on the activations while maintaining competitive performance. My remaining reservations are primarily the strength of the experimental evidence and the clarity and rigor of the reasoning used to motivate and substantiate the algorithmic claims.
Formatting concerns
N/A
11 comments
Rebuttal
Q1
We agree this was a necessary addition. Tables 2, 3 and 4 now report mean standard deviation over three independent seeds for every method we trained. Below is BitShift-RoPE against the strongest baseline on each benchmark, with the margin and * marking entries resolvable at . Time series is tested with a paired t-test over the 16 dataset x horizon conditions, since all methods share seeds, splits and conditions; text and image are tested per benchmark with Welch's two-sided t-test over the three seeds. Complete measurements and all comparisons against every baseline are in our reply to Reviewer dZG5’s W1&Q1.
Table 1. Time series — average over the 16 dataset × horizons
| Backbone | Best baseline (Log-PE) | Ours | Δ | paired p |
|---|---|---|---|---|
| Spikformer | 0.750 ± 0.066 | 0.758 ± 0.041 | +0.008 * | 0.025 |
| Spikingformer | 0.697 ± 0.031 | 0.712 ± 0.034 | +0.015 * | 0.042 |
| QKFormer | 0.733 ± 0.039 | 0.748 ± 0.037 | +0.015 * | 0.002 |
Table 2. Text — SpikeBERT, accuracy (%)
| Benchmark | Best baseline (CPG-PE) | Ours | Δ |
|---|---|---|---|
| MR | 72.73 ± 0.40 | 73.81 ± 0.43 | +1.08 * |
| SST-2 | 81.77 ± 0.34 | 82.00 ± 0.36 | +0.23 |
| Subj | 86.76 ± 0.28 | 87.90 ± 0.24 | +1.14 * |
| SST-5 | 35.34 ± 0.41 | 35.93 ± 0.44 | +0.59 |
Table 3. Image — best baseline → ours, accuracy (%)
| Benchmark | Spikformer | QKFormer |
|---|---|---|
| CIFAR-10 | 94.94 ± 0.12 → 95.13 ± 0.15 | 96.32 ± 0.15 → 96.36 ± 0.13 |
| CIFAR-100 | 77.55 ± 0.15 → 77.68 ± 0.16 | 80.90 ± 0.14 → 81.62 ± 0.18 |
| Tiny-ImageNet | 55.45 ± 0.13 → 56.31 ± 0.15 | 58.64 ± 0.12 → 59.05 ± 0.11 |
| CIFAR10-DVS † | 80.8 → 81.2 | 85.1 → 85.2 |
| DVS128-Gesture | 88.97 ± 0.36 → 93.79 ± 0.40 | 98.26 ± 0.24 → 98.61 ± 0.22 |
† CIFAR10-DVS has 1,000 test samples, so accuracy is quantized to 0.1% and several are 0. We report no significance there in either direction.
Best baseline is CPG-PE on Spikformer CIFAR-10, CIFAR10-DVS and DVS128-Gesture, Gray-PE 2D on Spikformer Tiny-ImageNet, and Conv-PE elsewhere.
9 of the 15 testable comparisons are individually resolvable (6 under BH, 3 under Holm). Six are not, and we report that rather than only the favourable half.
Every one of the 17 benchmark × backbone combinations has a positive margin, with no loss and no tie (). Since those 17 share 13 underlying datasets, we also collapse to one entry per dataset, where 13 of 13 still favour ours (). At the cell level 44 of 48 time-series conditions favour ours against Log-PE (), and Wilcoxon signed-rank on those conditions gives , , .
Manuscript revisions. We will add this contents to the main text.
Q2
We agree those two phrases were inappropriate. Section 5.4 was drafted in the same narrative style as the accuracy tables in Sections 5.1–5.3, which suits measured quantities but not Table 5, most of whose columns are fixed by construction. We designed and implemented the module, its index construction, its cache behaviour and its integration into the SNN attention block; it was not evaluated as a black box.
Index pre-computation
The index is generated deterministically from the positional hyperparameters and the sequence length, with no learned values and therefore no trainable positional parameters. For each group and position the implementation computes ,
and converts the resulting group-wise cyclic shifts into a channel-selection table of shape [1,1,H,N,D], each entry naming the input channel selected for a given position and output channel. When a fixed max_len is provided, this runs once during initialization and the table is registered as a non-persistent buffer:
idx = self._build_index(max_len)
self.register_buffer("_cached_idx", idx, persistent=False)
All configurations in our experiments are fixed-length, so the table is built before the first forward pass. A length mismatch triggers a temporary index construction for that pass. The cached table is expanded across the temporal and batch dimensions and applied as
torch.gather(x, dim=-1, index=idx)
We use gather because the selected input channel depends jointly on sequence position and output-channel index. Operator tracing confirms the cached path consists of index expansion and aten::gather alone, with no online index construction and no floating-point positional rotation. The trace documents the implemented execution path rather than empirically validating a deterministic design property.
In PyTorch this is an indexed gather over a pre-built table, not a literal pointer-routing primitive. "Memory-pointer routing" describes a possible hardware interpretation of the same permutation.
Manuscript revisions. Lines 281–286 will be rewritten as design decisions rather than observations. Appendix D will be moved to the main text as “Index Pre-computation”.
Q3
The reviewer is right. A one-bit XNOR is cheaper than a complete spike SOP under the Horowitz model, and our text attributed Gray-PE's and Log-PE's overhead to the wrong place. We re-audited the cached attention path and separated the operator types.
Table 1. Operation counts at , in millions. FP mul is 57.80M for all methods.
| Method | AND | XNOR | Accumulate | INT add | FP add | Gather |
|---|---|---|---|---|---|---|
| No PE | 1849.69 | 0 | 3699.38 | 0 | 0 | 0 |
| BitShift-RoPE | 1849.69 | 0 | 3699.38 | 0 | 0 | 22.02 |
| Gray-PE | 0 | 2427.72 | 4306.31 | 173.41 | 0 | 0 |
| Log-PE | 0 | 1849.69 | 3721.40 | 173.41 | 57.80 | 0 |
Per-operation energy (45 nm CMOS, Horowitz), in pJ: AND and XNOR 0.013, accumulate 0.9, INT add 0.1, FP add 0.9, FP mul 3.7.
Under the per-operation energy, the XNOR primitive contributes less than 1% of Gray-PE's and Log-PE's arithmetic energy. Gray-PE's overhead comes from its augmented -dimensional similarity with bits, and Log-PE's partly from 57.80M floating-point positional-bias additions, with reductions and corrections contributing in both cases. Arithmetic energy on this path rises by 16.02% and 2.59% over the no-PE baseline.
The structural cost of XNOR similarity is sparsity, not the gate. only on a 1-1 coincidence, whereas whenever the operands agree, including 0-0, so on sparse spike tensors nearly every term is non-zero and the accumulation that follows becomes dense.
Manuscript revisions. The claim that XNOR is intrinsically inefficient will be removed, Section 5.4 adopts the per-operation model in place of the single E_SOP figure, and Table 5 will be re-derived under it.
Q4
Yes, at construction time, and none on the forward path. _build_index computes the shift schedule with pow, einsum and round; everything after the round is integer arithmetic, and in every Section 5 configuration it runs once at initialization with its output held as a buffer.
| BitShift-RoPE path | Index construction | Forward-path operators | FP positional arithmetic |
|---|---|---|---|
| Cached length | once, in __init__ |
expand + aten::gather |
none |
| Uncached length | _build_index during forward |
index construction + aten::gather |
pow, mul, einsum, round, remainder |
The cached branch is taken whenever the input length matches the max_len given at construction, which holds for every configuration in Section 5. We agree this is verifiable purely in software, and confirmed it by operator trace.
Zero-FLOP is not zero runtime. The cached path still performs a gather, with the memory traffic and index storage. Measured on the isolated attention block (Table 1 in our reply to Reviewer dZG5's Q2), the overhead falls from +7.7% at to +3.9% at , since the gather is while the attention it feeds is . It is therefore largest where the attention block is cheapest.
Manuscript revisions. The Zero-FLOP will be stated as an architectural arithmetic property, not a measured total-energy saving.
Q5
We agree the claim was asserted rather than supported. Following Section 4.3, places the two axes on disjoint channel blocks, so the shifts acting on each half commute and applying the step of Eq. (6) to each gives Eq. (10) with no approximation in the split itself,
.
The only inexactness is rounding, bounded by one shift step per group per axis and independent of absolute position (see our reply to Reviewer 2aSr’s W2,3 & Q2). And since is a coordinate permutation, the output stays exactly in with the firing rate unchanged.
Had we keyed the shift on instead, all displacements with the same sum - (1,3), (2,2), (3,1) - would give the identical operator, and the two components could never be separated downstream. The orthogonal split works because is injective while the summed coordinate is not.
Manuscript revisions. Lines 258–262 will be replaced with what is proved that the split is exact, the attention map depends on displacement up to a bounded position-independent rounding term, and the permutation preserves binarity.
Limitations
We agree, and will move them into the main text including the fixed decay constant shared across all three domains and unlikely to be Pareto-optimal for any one, the energy figures as Horowitz operation-count estimates rather than silicon measurements, and the joint shift code being collision-free only below its period, so the alias-free span must be checked against the sequence length or patch grid in use. We will also carry out a full copy-edit, removing the colon and semicolon shorthand you flagged.
I thank the authors for the rebuttal.
Q1
The answer here is written so densely and convoluted that I have to reverse-engineer what was done. Could the authors please provide a better overview of the statistical analysis carried out? The rebuttal to Reviewer dZG5 and the one provided here seems to suggest little to no significance over the baselines.
Q2
The authors did the same thing in this answer that they do in the paper: deducing algorithmic properties after-the-fact through software analysis. Why would a gather operation introduce floating-point positional rotations that the authors are looking for in the trace? The authors should examine and analyse the proposed algorithm rather than rely on software analysis to substantiate its deterministic properties. Using the trace to confirm that the implementation matches the intended algorithm is reasonable and should be included in the revised manuscript as a confirmation of the intended implementation, but it does not explain why the authors appear to require operator tracing to infer consequences that follow directly from the method they designed. This leaves my original concern unresolved. The response still reads as though the authors are analysing an unfamiliar implementation as a black box rather than reasoning from their own algorithm.
Q3
The answer sufficiently answered my question regarding this.
Q4
There seems to have been a misunderstanding here. My point was that the zero-FLOP claim should be justified from the algorithm itself, not from hardware measurements or post-hoc operator tracing or software analyses. However, the initial part of the response sufficiently explains this, and it should be stated more clearly in the revised manuscript.
Q5
I asked what supports the claim that the DVS128-Gesture result shows that the method preserves complex 2D geometric information and reflects it in the attention map. The authors' response instead explains how the method works. I still do not understand how this answers the original question. How do these facts show that spatial adjacency or other geometric relationships are preserved, or that this explains the result on DVS128-Gesture? Please clarify what exactly the original sentence was intended to claim.
At present, Q3 and Q4 are sufficiently resolved, while Q1, Q2, and Q5 remain unresolved. As stated in my original review, Q1 and Q2 are the primary issues affecting my score.
Response to Q1. You are right that the two replies read that way. Two things caused it. First, we split the explanation. The reply to Reviewer dZG5 opens with a table of seed-level tests where no time-series margin is significant, and the condition-level result sits in the prose underneath. The reply here shows the condition-level result and drops the seed-level one. Neither carries both halves, so reading them together looks like a contradiction. Second, Table 3 here has no significance markers at all, even though we defined for that in the opening paragraph. Taken at face value it says no image comparison is significant. Four of the eight are.
Every method is trained with three seeds on identical splits. Time series has 16 conditions per backbone, four datasets by four horizons. Text has four benchmarks and image has five per backbone. Two questions can be asked of that design and they need different sampling units. Asking whether the method wins on a given benchmark means treating the seed as the unit, three per group in Welch. That is what text and image support, since each cell is one benchmark with its own seed variance. Asking whether it wins on average across conditions means treating the condition as the unit and pairing. Time series needs the second, because we report it at the aggregate level where there are only three samples.
That is where the two replies diverge, and the reason is power rather than noise cancellation. The aggregate test has three samples, so and the critical value is . Margins of to would need paired standard deviations below to , against the seed-to-seed standard deviations of the 16-cell average, which run from to across the methods being compared. Pairing at the seed level does not rescue this. Even at perfect correlation the paired standard deviation is bounded below by the difference of the two aggregate standard deviations, which is for Spikformer against a requirement of . The other two backbones are not ruled out this way, but they would need seed-to-seed correlations above . The to numbers in the dZG5 table are therefore underpowered by construction rather than evidence of no effect. The condition-level test is not the same test with less noise. It changes the sampling unit from the seed to the condition, giving , and the pairing there removes condition difficulty rather than seed variation. Both numbers are right for what they test. We had not said so in the same place.
The condition-level test has a limitation of its own. The 16 conditions are not independent. Four horizons share a dataset, so the effective sample size is smaller than 16 and the paired test overstates its own precision. We do not have a clean way to quantify that with three seeds, so we report what the data look like under weaker assumptions instead. Wilcoxon signed-rank over the same 16 conditions, run separately for each backbone and assuming no normality, gives and . Collapsing to one entry per dataset, which removes the within-dataset dependence entirely at the cost of , leaves the direction unchanged on every dataset and every backbone but no longer resolves, at to . Both are in the dZG5 thread. The condition-level -values below should be read with that in mind.
Fifteen comparisons against the strongest baseline are testable. The two CIFAR10-DVS cells are out because that benchmark has 1,000 test samples, so accuracy comes in steps of 0.1%.
| Domain | Tested | Significant at | Surviving BH | Surviving Holm |
|---|---|---|---|---|
| Time series vs Log-PE (condition-level) | 3 | 3, at 0.025, 0.042 and 0.002 | 1, QKFormer | 1, QKFormer |
| Text vs CPG-PE | 4 | 2, MR 0.033 and Subj 0.006 | 1, Subj | 0 |
| Image, Spikformer | 4 | 2, Tiny-ImageNet 0.002 and DVS128-Gesture < 0.001 | 2, both | 2, both |
| Image, QKFormer | 4 | 2, CIFAR-100 0.006 and Tiny-ImageNet 0.012 | 2, both | 0 |
| Total | 15 | 9 | 6 | 3 |
Six of the fifteen comparisons do not reach nominal significance, several of the nine that do are marginal, and only three survive Holm. What holds uniformly is direction: all 17 benchmark backbone combinations favour BitShift-RoPE, 13 of 13 once the suite is collapsed to unique datasets, and a sign test on the datasets gives . A sign test speaks to consistency rather than size, and that is the only weight we put on it.
The margins are individually small, the direction never reverses, and parameter count, per-pass operation count and energy stay at the backbone's level. That supports a narrower claim than state-of-the-art accuracy, and it is the one the revised text makes: BitShift-RoPE is consistently comparable or better at exactly the backbone's cost.
- 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
Authors propose a positional encoding for SNN transformers. The problem is that current SNN positional encodings either add floating-point ops or turn the binary spikes into multi-bit integers, which breaks the bitwise-AND efficiency that makes SNN attention cheap in the first place. So they set three constraints - no extra FLOPs, output stays binary, and relative distance is an exact formula - and argue no existing method hits all three. Their idea is to swap RoPE's trigonometric rotation matrix for a discrete cyclic-shift (permutation) matrix. They map RoPE's multi-frequency schedule into per-group integer shift counts, extend it to 2D for images, and implement the shift as cached memory-pointer routing so there's no runtime arithmetic at all. For evaluation they test it on time-series, text, and image/neuromorphic benchmarks across several backbones.
Strengths and weaknesses
Quality Good: the method is sound and the idea fits together well; broad evaluation across modalities and backbones; honest about the energy being an estimate not real hardware Address: my main issue is that the "state-of-the-art" claim rests on very small margins - e.g. time-series 0.748 vs 0.733, text 69.91 vs 69.15, image 84.17 vs 83.84 - and there are no error bars in the main tables even though you run 3 seeds
Clarity Good: well structured, the figures help, and the method section is readable. Address: I would tone down some of the wording ("perfectly preserves", "fundamentally resolves"), and I'd move Corollary 2 into the main text with its actual constants since that's the result the long-sequence claim depends on. There are also a few broken cross-references (see formatting) that should be fixed
Significance Good: SNN-compatible relative positional encoding is a real gap, so a zero-FLOP binary-preserving solution is useful Address: the significance is capped right now by the small accuracy gains and the lack of real hardware validation, so I'd frame it as a solid useful contribution rather than something field-changing or improve upon that.
Originality Good: as far I've researched the shift-as-rotation idea hasn't been used this way for SNNs Address: Theorem 1 (a circulant matrix is diagonalized by the DFT) is basically textbook, and you say yourself the frequencies differ from RoPE's, so I would describe this as a RoPE-inspired discretization rather than an equivalence - right now it reads as more than it is
Questions
- Could you add error bars (std over your 3 seeds) and a significance test on the main comparisons?
- The "zero-FLOP via memory-pointer routing" is idealized - could you account for the routing/addressing cost on a realistic accelerator, or scope it clearly as an architectural argument rather than a measured saving?
- You report beating the ViT "upper bound" on CIFAR-100 - is that ViT trained comparably? As it stands it risks overclaiming on a narrow win.
Limitations
There is no limitation section in the main text but there is one in the Appendix which addresses things like pre-computed shift-map memory footprint, the fixed decay constant C, there is also a broader impact statement - both are honest.
Formatting concerns
- Several papers are listed twice under different numbers - for example 14 and 15 or 21 and 22 + more
- Main results tables have no std/error bars despite 3 seeds (I put this under Quality too, but it's also a table-formatting fix)
- There is a placeholder "Section X.X" in the appendix
1 comment
Rebuttal
Q1
We agree, and have added both. Tables 1–3 report mean standard deviation over three independent seeds for every method we trained; the Transformer, BERT and ViT rows are cited single-run numbers and marked as such.
In Tables 2 and 3 each cell is a benchmark, so the standard deviations are per cell and the tests are Welch's two-sided t-test with . Table 1 is reported at the aggregate level because seed variability there is strongly heterogeneous across cells, with Pems-bay and Electricity stable () while Solar at exceeds . Individual Solar cells at long horizons are therefore not separable between any pair of methods, and we base no claim on them.
Table 1. Time-series forecasting — average over the 16 dataset x horizons, mean s.d. over 3-seeds. is against BitShift-RoPE on the same backbone.
| Backbone | Method | ↑ | RSE ↓ | () |
|---|---|---|---|---|
| Spikformer | Conv-PE | 0.733 ± 0.052 | 0.541 ± 0.062 | 0.55 |
| RoPE | 0.720 ± 0.092 | 0.559 ± 0.103 | 0.56 | |
| CPG-PE | 0.744 ± 0.071 | 0.519 ± 0.075 | 0.78 | |
| Gray-PE | 0.748 ± 0.049 | 0.513 ± 0.062 | 0.80 | |
| Log-PE | 0.750 ± 0.066 | 0.509 ± 0.078 | 0.87 | |
| BitShift-RoPE | 0.758 ± 0.041 | 0.498 ± 0.059 | — | |
| Spikingformer | Conv-PE | 0.654 ± 0.051 | 0.610 ± 0.067 | 0.19 |
| CPG-PE | 0.682 ± 0.033 | 0.599 ± 0.036 | 0.33 | |
| Gray-PE | 0.687 ± 0.038 | 0.577 ± 0.048 | 0.44 | |
| Log-PE | 0.697 ± 0.031 | 0.565 ± 0.033 | 0.60 | |
| BitShift-RoPE | 0.712 ± 0.034 | 0.553 ± 0.040 | — | |
| QKFormer | Conv-PE | 0.688 ± 0.061 | 0.606 ± 0.077 | 0.23 |
| CPG-PE | 0.708 ± 0.046 | 0.581 ± 0.067 | 0.31 | |
| Gray-PE | 0.729 ± 0.031 | 0.558 ± 0.038 | 0.53 | |
| Log-PE | 0.733 ± 0.039 | 0.556 ± 0.047 | 0.65 | |
| BitShift-RoPE | 0.748 ± 0.037 | 0.535 ± 0.046 | — |
Individually these margins are not resolvable when the 3-seed-level averages are the sample, since with the critical value is and the margins would require a paired standard deviation below 0.006. We make no per-benchmark superiority claim from them.
The comparison does resolve at the level at which the experiment is replicated. All methods share seeds, splits and the same 16 dataset x horizon conditions, so we test the paired difference with the condition as the sampling unit. Against the strongest baseline on each backbone the improvement is +0.0075 on Spikformer (, , 95% CI ), +0.0146 on Spikingformer () and +0.0148 on QKFormer (); Wilcoxon signed-rank gives , , . Clustering at the dataset level () leaves the direction unchanged but the margins unresolvable (–).
Table 2. Text classification (SpikeBERT) — accuracy %, mean s.d.; against BitShift-RoPE.
| Method | MR / p vs | SST-2 / p vs | Subj / p vs | SST-5 / p vs |
|---|---|---|---|---|
| w/o PE | 71.84 ± 0.41 / 0.005 | 80.17 ± 0.31 / 0.003 | 86.60 ± 0.26 / 0.003 | 35.20 ± 0.40 / 0.10 |
| CPG-PE | 72.73 ± 0.40 / 0.033 | 81.77 ± 0.34 / 0.47 | 86.76 ± 0.28 / 0.006 | 35.34 ± 0.41 / 0.17 |
| Gray-PE | 70.71 ± 0.44 / <0.001 | 81.08 ± 0.36 / 0.035 | 80.00 ± 0.27 / <0.001 | 34.39 ± 0.48 / 0.015 |
| Log-PE | 71.09 ± 0.47 / 0.002 | 81.42 ± 0.35 / 0.12 | 80.80 ± 0.25 / 0.001 | 34.43 ± 0.46 / 0.015 |
| BitShift-RoPE | 73.81 ± 0.43 | 82.00 ± 0.36 | 87.90 ± 0.24 | 35.93 ± 0.44 |
Table 3. Image classification — accuracy %, mean s.d.; against BitShift-RoPE 2D on the same backbone.
| Backbone | Method | CIFAR-10 | CIFAR-100 | Tiny-IN | CIFAR10-DVS | DVS128-Gesture |
|---|---|---|---|---|---|---|
| Spikformer | Conv-PE | 94.61 ± 0.14 | 77.55 ± 0.15 | 55.28 ± 0.11 | 80.3 ± 0.0 | 87.59 ± 0.39 |
| p = 0.012 | 0.36 | < 0.001 | † | < 0.001 | ||
| CPG-PE | 94.94 ± 0.12 | 77.51 ± 0.18 | 54.76 ± 0.14 | 80.8 ± 0.0 | 88.97 ± 0.36 | |
| p = 0.16 | 0.29 | < 0.001 | † | < 0.001 | ||
| Gray-PE 2D | 93.74 ± 0.28 | 77.53 ± 0.19 | 55.45 ± 0.13 | 80.1 ± 0.06 | 88.36 ± 0.37 | |
| p = 0.004 | 0.36 | 0.002 | † | < 0.001 | ||
| BitShift 2D | 95.13 ± 0.15 | 77.68 ± 0.16 | 56.31 ± 0.15 | 81.2 ± 0.0 | 93.79 ± 0.40 | |
| QKFormer | Conv-PE | 96.32 ± 0.15 | 80.90 ± 0.14 | 58.64 ± 0.12 | 85.1 ± 0.06 | 98.26 ± 0.24 |
| p = 0.75 | 0.006 | 0.012 | † | 0.14 | ||
| CPG-PE | 96.21 ± 0.17 | 80.65 ± 0.19 | 56.75 ± 0.16 | 82.0 ± 0.12 | 97.26 ± 0.21 | |
| p = 0.29 | 0.003 | < 0.001 | † | 0.002 | ||
| Gray-PE 2D | 96.03 ± 0.22 | 80.70 ± 0.18 | 57.48 ± 0.14 | 81.4 ± 0.2 | 97.91 ± 0.28 | |
| p = 0.10 | 0.003 | < 0.001 | † | 0.029 | ||
| BitShift 2D | 96.36 ± 0.13 | 81.62 ± 0.18 | 59.05 ± 0.11 | 85.2 ± 0.06 | 98.61 ± 0.22 |
† CIFAR10-DVS has 1,000 test samples, so accuracy is quantized to 0.1% and several entries have because 3-seeds classified an identical number of samples. The QKFormer margin of +0.1 is a single test sample. We report no significance on this benchmark in either direction.
Table 4. Consistency across the benchmark suite. The margins are small relative to seed variation; their direction is not.
| Analysis | Sampling unit | Result | p |
|---|---|---|---|
| Sign test, unique datasets | 13 datasets, averaged over backbones and horizons | 13 / 13 favour BitShift-RoPE | |
| Sign test, benchmark backbone | 17 | 17 / 17 | |
| Sign test, cells vs Log-PE | 48 time-series cells | 44 / 48 |
Against the strongest baseline on each benchmark, 9 of 15 testable comparisons are individually resolvable (6 under BH, 3 under Holm), and all 17 have a positive margin. The 17 units share 13 underlying datasets, which is why we also report the collapsed version. Our revised claim is that BitShift-RoPE is consistently at least as good across backbones and modalities at zero additional parameters and zero additional positional arithmetic, not that any individual margin establishes superiority.
Manuscript revisions. We will add this contents to the main text.
Q2
We agree, and scope the claim precisely. We redefine Zero-FLOP as zero additional floating-point arithmetic on the online positional-transformation path, relative to the same backbone without positional encoding. It is not a claim that the network is free of floating-point arithmetic, nor that the module is free of runtime cost. Every configuration reported in Section 5 is fixed-length and constructed with a matching max_len, so all take the cached path, with the index table built once at initialization and reused. In PyTorch this path is torch.gather over a precomputed index, and operator tracing confirms the forward path consists of index expansion and aten::gather alone, with no online index construction and no floating-point positional rotation. "Memory-pointer routing" describes a plausible hardware realization of this deterministic permutation, not the implemented primitive.
On the configuration of , 2 layers, applied to and , the module issues 22.02M additional index-gather accesses and no additional arithmetic operations of any type, and floating-point columns are identical to the no-PE baseline (see Table 1 in our reply to Reviewer 393t’s Q3).
Table 1. Software latency.
| N | No PE (ms) | BitShift (ms) | Overhead |
|---|---|---|---|
| 64 | 0.7035 ± 0.0097 | 0.7578 ± 0.0059 | 7.7% |
| 256 | 3.1703 ± 0.0313 | 3.3608 ± 0.0298 | 6.0% |
| 1024 | 28.7396 ± 0.2326 | 29.8644 ± 0.1815 | 3.9% |
On the isolated attention block on an RTX A5000, the overhead falls monotonically from 7.7% at to 3.9% at . The absolute overhead grows approximately linearly in which is what the gather predicts, while the attention block it feeds grows 40.8x over the same range. The cost is therefore largest exactly where the attention block is cheapest, and smallest in the long-context regime that motivates relative positional encoding in the first place.
Manuscript revisions. The Zero-FLOP will be stated as an architectural arithmetic property, not a measured total-energy saving, and Table 1 will be added to the Appendix.
Q3
We agree that “ViT upper bound” is not an appropriate label because the manuscript does not establish that the floating-point ViT and the SNN model were trained under fully matched architectures, optimization settings, augmentation, regularization, and training budgets.
Because the training conditions are not established as directly comparable, we will remove the claim that BitShift-RoPE surpasses a floating-point upper bound.
Manuscript revisions. The Table 4 ViT row will be renamed from "(Upper bound)" to "(floating-point reference)”. The claim that BitShift-RoPE surpasses the floating-point upper bound will be removed from Section 5.3.
Others
- We will move the limitation section from appendix to the main draft (see also our reply to Reviewer 393t’s limitation).
- Toned down throughout: "perfectly preserves" → "preserves", "fundamentally resolves" → "addresses", and so on.
- Corollary 2 will be moved to main text with its constants stated. Doing so makes clear that the bound is not uniformly small. It reaches per position and exactly pairwise at the Nyquist mode.
- Cross-references will be all fixed.
- We agree and we will reframe accordingly, the energy result is scoped as an architectural arithmetic property pending silicon validation, and the DFT diagonalization of a circulant matrix is textbook. Theorem 1 becomes a Proposition, and the construction is described as a RoPE-inspired discretization rather than an equivalence.
- Rating
- 4/6
- Confidence
- 4/5
- Quality
- 3/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
This paper proposes BitShift-RoPE, a relative positional encoding for Spiking Neural Network (SNN) Transformers that aims to bring RoPE-style positional information to spiking attention without any floating-point computation. The authors first argue that spiking self-attention (SSA), which operates on binary spike tensors as a bitwise-AND (), is incompatible with standard RoPE: applying RoPE pre-spike requires extra FLOPs and breaks the distance-preserving identity through the LIF non-linearity, while applying it post-spike turns binary spikes into floating-point values and forfeits the bitwise efficiency. They formalize three constraints for SNN-compatible positional encoding: no floating point, binary/multiplier-free attention, and an exact relative-distance formula. BitShift-RoPE implements rotation as a discrete cyclic-shift of the 0/1 spike indices via memory-pointer routing. Theorem 1 shows using cyclic shift matrix establishes a structural isomorphism to RoPE. Stated contributions are mathematical preservation of positional structure under SNN constrains, hardware-efficient (zero-FLOP) attention, and multi-scale frequency encoding with competitive performance.
Strengths and weaknesses
Strengths
The paper takes a genuinely useful and elegant idea — realizing RoPE's relative-distance property through cyclic bit-shifts so that positional encoding costs effectively zero FLOPs and preserves the binary, multiplier-free nature of spiking attention. The motivation is crisp: the three SNN constraints are clearly stated, and the failure modes of prior pre-spike and post-spike encodings are explained convincingly. The core derivation is clean and correct: the orthogonality yields the exact relative form , and Theorem 1's DFT diagonalization gives a principled link to RoPE's phase-rotation view. The claim that the quantization error is bounded by a sequence-length-independent constant is an attractive property for length generalization. Adapting the scheme to multi-scale groups and to a 2D (X/Y) decomposition for vision is sensible, and the overall efficiency story is the paper's strongest asset. On balance, the novelty and the hardware-efficiency contribution are sufficient to outweigh my reservations, which is why I lean toward acceptance.
Weaknesses
My concerns are not that the identities are wrong, but that the interpretive claims built on them may be overstated.
- Equivalence is structural, not behavioral. Because activates uniformly-spaced frequencies while RoPE uses an exponential-decay schedule, it is unclear how much of RoPE's actual multi-scale behavior is preserved beyond the relative-distance identity. The "isomorphism" framing risks implying more than is established.
- The error bound guarantees boundedness, not smallness. The Corollary-2 bound grows with the frequency index and approaches for high-frequency groups, i.e., the channels intended to carry the finest positional detail can suffer near-maximal phase error (vectors pointing in opposite directions).
- Rounding can erase fine position. maps several consecutive positions to the same shift in slow groups, and the non-linear precludes the continuous, fine-grained scaling used for position interpolation, which may limit flexible context-length extension.
- Evaluation may not test the positional claim. The reported gains are concentrated on tasks where token position matters relatively little (e.g., classification); such results cannot confirm that the encoding contributes useful positional information as opposed to efficiency.
Minor (framing)
The title uses "Relative Positional Encoding," but the method and analysis are framed around rotary/RoPE encoding; clarifying the relationship would avoid confusion.
Questions
I focus on three questions about the logical validity of the central claims and the evaluation; resolving them would most affect my score.
- Scope of the RoPE "isomorphism." Theorem 1 diagonalizes over uniformly-spaced frequencies , whereas RoPE uses the exponential-decay schedule , and the paper describes the equivalence as structural rather than pointwise. Precisely which property of RoPE is provably preserved beyond the relative-distance identity , and which is not? In what sense does the structural isomorphism justify claiming RoPE-equivalent multi-scale positional behavior, given the differing frequency schedules?
- Effective positional resolution under the error bound and rounding. The Corollary-2 bound grows with and nears for high-frequency groups, while collapses consecutive positions to the same shift in slow groups. Taken together, which channel groups actually encode reliable fine-grained relative position — the fast groups suffer large phase error and the slow groups are rounding-degenerate? What is the effective positional resolution of BitShift-RoPE, and does the "multi-scale relative distance" claim still hold once both effects are accounted for? Relatedly, does the non-linear preclude continuous position interpolation and flexible context-length extension?
- Does the evaluation validate the positional contribution? Since the contribution is a positional encoding, results on position-insensitive tasks (e.g., classification) cannot establish that the encoding's positional content — rather than its efficiency — drives performance. Can you evaluate on position-sensitive tasks where PE is decisive (e.g., dense prediction such as detection/segmentation, or generation/QA in the spiking setting, cf. Spike2Former [1], Meta-SpikeFormer [2], SpikeGPT [3], E-SpikeFormer [4], TP-Spikformer [5])? Without such evidence, on what basis is the "state-of-the-art performance" claim for a positional-encoding method logically supported?
References
[1] Lei, Z., Yao, M., Hu, J., Luo, X., Lu, Y., Xu, B., & Li, G. (2024). Spike2Former: Efficient Spiking Transformer for High-performance Image Segmentation. ArXiv Preprint ArXiv:2412.14587. [2] Yao, M., Hu, J., Hu, T., Xu, Y., Zhou, Z., Tian, Y., XU, B., & Li, G. (2024). Spike-driven Transformer V2: Meta Spiking Neural Network Architecture Inspiring the Design of Next-generation Neuromorphic Chips. The Twelfth International Conference on Learning Representations. https://openreview.net/forum?id=1SIBN5Xyw7 [3] Zhu, R.-J., Zhao, Q., Li, G., & Eshraghian, J. K. (2023). SpikeGPT: Generative Pre-trained Language Model with Spiking Neural Networks. ArXiv Preprint ArXiv:2302.13939. [4] Yao, M., Qiu, X., Hu, T., Hu, J., Chou, Y., Tian, K., Liao, J., Leng, L., Xu, B., & Li, G. (2025). Scaling Spike-Driven Transformer With Efficient Spike Firing Approximation Training. IEEE Transactions on Pattern Analysis and Machine Intelligence, 47(4), 2973–2990. https://doi.org/10.1109/TPAMI.2025.3530246 [5] Wei, W., Zhou, X., Zhang, M., Belatreche, A., Sun, Q., Shan, Y., Zhang, D., Zhou, Z., Ma, Z., Yang, Y., & Li, H. (2026). TP-Spikformer: Token Pruned Spiking Transformer. The Fourteenth International Conference on Learning Representations. https://openreview.net/forum?id=L5llQD0nMf
Limitations
I encourage the authors to deploy and benchmark BitShift-RoPE on a dedicated neuromorphic chip if possible, reporting measured energy and latency against floating-point RoPE baselines, so that the zero-FLOP claim is validated in its intended setting.
Final justification
The main concerns regarding the initial manuscript were the theoretical soundness of the proposed formulation and the adequacy of the experimental evidence supporting the paper’s claims.
During the rebuttal period, the authors fully addressed these concerns. In particular, they clarified several terms in the theorem, provided further explanations regarding the error bounds and rounding behavior, and presented additional experiments supporting the theoretical claims. These additions substantially strengthened the paper, and I therefore recommend acceptance.
Formatting concerns
The title refers to "Relative Positional Encoding," while the method and analysis are presented in rotary/RoPE terms; aligning the terminology required.
2 comments
Rebuttal
W1 & Q1
We agree the correspondence is structural rather than pointwise or behavioral. Numbers below come from exhaustive enumeration at the paper's hyperparameters (Appendix B.2, ) at head_dim 32, giving , using the deployed float32 inv_freq.
Preserved exactly, independently of the frequency schedule. is orthogonal, . Shift composition is additive. The DFT diagonalizes into unit-modulus phase factors , so an a-step shift is a phase rotation linear in a at every mode . And the attention product admits the exact shift-difference form .
Not preserved, the frequency schedule (uniform versus RoPE's exponential ), continuous rotation, and the continuous rescaling that position interpolation relies on.
The shift-difference identity concerns the operator, not translation invariance. It holds for any integers , but does not in general depend only on , because and are rounded separately and rounding does not commute with subtraction. The exactness is in the algebra, not in the translation invariance. With per-group periods [8, 32, 128, 512] and joint period 512, the number of distinct joint shift tuples at a fixed lag averages 5.97 and reaches 8, and only is exactly translation-invariant at every lag. The representation is therefore not strictly relative-only.
Distinct lags remain distinguishable, with a quantified exception. Over a full joint period, 4 of 512 displacements participate in a code collision, all congruent to 64 modulo 128. At the lengths we train on the effect is smaller. The text configuration () is collision-free across all 511 displacements, and the time-series configuration () codes 333 of 335 uniquely, the sole exception being a sign ambiguity between that affects 2 of the 28,224 query–key pairs. This is also the clearest evidence for the multi-frequency design, since alone leaves all 335 displacements ambiguous modulo 8 and the four groups together reduce that to 2. We state this at the operator-index level only, since symmetric content vectors could still yield equal inner products.
Manuscript revisions. In place of the unqualified "exact mathematical formula", the attention map realizes relative distance exactly at unit resolution and to within one shift step per group at coarser scales, , with equality to 0 for . The bound holds for all and and does not grow with absolute position, which is what the length claim requires. The construction will be described as a RoPE-inspired discretization. The phrases "RoPE-equivalent behavior,", and "exact isomorphism to RoPE" will be removed throughout. Theorem 1 becomes a Proposition, per Reviewer dZG5's comment on the same point.
W2,3 & Q2
The confusion is our notation’s fault. The manuscript uses for the DFT mode in Theorem 1 and for the shift count in Eq. (8), then writes the Corollary-2 bound as without stating which is meant. Read that way the bound appears to grow with the group index. It does not. The group index sets positional scale, the DFT mode sets the phase bound, and the two are independent. The fast group has , so rounding is the identity and its phase error is exactly zero at every mode.
Phase Error
With and , the schedule gives cyclic periods 8, 32, 128 and 512, and the fraction of distance pairs sharing a raw shift value rises from 0 at to 0.749, 0.936 and 0.983 at . The exact group has the opposite problem, as holds exactly but modulo only 8 states. Neither suffices alone. Phase error is bounded, and explicitly not small. For modes the empirical maximum coincides exactly with the analytical bound , giving 0.393, 0.785 and 1.571 rad at , and at Nyquist the pairwise bound is exactly and is attained. We therefore withdraw any suggestion of spectral equivalence to RoPE. What the bound does establish is non-accumulation, the maximum being identical at to .
Does the multi-scale claim hold?
In the restated form of C3 in our reply to W1, yes. As spectral equivalence to RoPE, no. Alone neither extreme suffices, and combined they do, since the joint code determines the lag on all but 4 of 512 displacements (W1 & Q1). The diagnostic confirms this at .
| Variant | Δ=1 | 2–4 | 5–8 | 9–16 | 17–32 | 33–64 | 65–128 | Overall |
|---|---|---|---|---|---|---|---|---|
| fine-only | 100 | 100 | 100 | 11 | 0 | 0 | 0 | 44.4 ± 0.1 |
| coarse-only | 81 | 16 | 0 | 0 | 0 | 77 | 53 | 32.4 ± 0.5 |
| multi-scale | 100 | 100 | 95 | 80 | 90 | 81 | 87 | 90.4 ± 1.6 |
Both failure modes appear where the analysis predicts. The fine-only variant is perfect through and collapses at –, exactly at the 8-state period of . The coarse-only variant maps every below 32 to the same shift and cannot separate the first five buckets, where its residual accuracy reflects a learned prior toward short distances. Both controls keep the same group and channel count as the full model, so this is not a channel-budget effect.
On interpolation, the encoder is extending context rebuilds the index table rather than retraining. The diagnostic trains at and holds at 512 (91.9 to 90.4) where Log-PE falls to 35.1. We claim neither generalization to untrained distances nor extension beyond the joint period.
Manuscript revisions. denotes the DFT mode throughout and is reserved for shift counts, so the Corollary-2 bound reads without ambiguity. Corollary 2 is moved into Section 4.2 and rewritten as bounded independently of absolute position, which establishes non-accumulation with sequence length rather than uniformly small error, and the phrases "the rotation remains close to its continuous target" and "the error is small" are removed. The above table will be added to the appendix.
W4 & Q3
We agree that classification alone cannot establish that positional content, rather than efficiency, drives the gains. We add a controlled diagnostic in which the label is the relative distance, and dense prediction as you suggest.
Diagnostic Probe
Spikformer backbone, , three seeds. Two markers are placed at random positions in a normalized Electricity sequence through a one-hot flag channel, so the marker is detectable but carries no positional information of its own. The model predicts the bucket of their separation over seven balanced distance ranges from 1 to 65–128, at chance 14.3%. Training uses only, with both markers at unseen absolute positions at .
Table 1. Overall accuracy (%)
| Positional encoding | ||
|---|---|---|
| No PE | ||
| BitShift random map | ||
| BitShift fine-only | ||
| BitShift coarse-only | ||
| Gray-PE | ||
| Log-PE | ||
| BitShift-RoPE, multi-scale |
No-PE stays at chance, so marker detection alone is insufficient. The random-map control, the same gather with a permutation carrying no positional structure, also stays at chance, so the gain comes from which permutation is applied rather than from the routing mechanism. Single-scale controls with the same group count and routed channels reach only 44.6 and 35.4 at , so it is not a channel-budget effect either, and their per-bucket failure pattern is in our reply to W2. At the training length our method and Log-PE are comparable ( against ), and the separation appears only under extrapolation.
Dense Prediction
Oxford-IIIT Pet trimap segmentation, three classes including boundary, Spikformer at embed 256 and depth 4, five arms and three seeds on an identical 80-epoch budget, at the training resolution of 128x128. The decoder is a per-token linear projection with no convolution and no skip connection, so any spatial coherence must originate in the encoder, and the No-PE arm quantifies the position that Spikformer's convolutional stem supplies by itself.
Table 2. Segmentation at 128 px (mean ± s.d., 3 seeds)
| PE | params | mIoU | boundary IoU |
|---|---|---|---|
| No PE | 3.61 M | 0.638 ± 0.007 | 0.335 ± 0.010 |
| Conv-PE | 4.20 M | 0.665 ± 0.006 | 0.376 ± 0.009 |
| CPG-PE | 3.67 M | 0.660 ± 0.005 | 0.363 ± 0.006 |
| Gray-PE 2D † | 3.61 M | 0.502 ± 0.051 | 0.261 ± 0.043 |
| BitShift 2D | 3.61 M | 0.673 ± 0.003 | 0.381 ± 0.003 |
† Gray-PE required token-mean normalization of the attention map, since its non-negative Hamming similarity saturates the attention LIF at 256 tokens. Without it the arm reaches 0.366 mIoU.
Against the No-PE floor, BitShift-RoPE gains +0.035 mIoU () and +0.046 boundary IoU (), the class most sensitive to fine spatial position. Since the decoder cannot generate spatial structure, both originate in the encoding. It also exceeds CPG-PE (+0.013, p = 0.026 and +0.018, ), while Gray-PE 2D falls below the floor (−0.136, ). Against Conv-PE the margins are not resolvable at n = 3 (+0.008, and +0.005, ), so we call the two comparable and claim no win. What differs is cost, since Conv-PE adds 0.59M parameters whereas BitShift-RoPE adds none and performs no forward-path positional arithmetic.
Manuscript revisions. We will add a position diagnostic and dense prediction results on the main text.
Limitation
We agree, and will pursue this as future work.
Thank you for the detailed rebuttal and additional experiments. The response has substantially addressed my main concerns.
Revised framing, clarification of notation, additional analyses and experiments resolve my concern.
I appreciate the authors' careful responses and their willingness to revise the manuscript's claims and terminology accordingly.
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
We thank the Area Chair for the careful summary and the recommendation. We would note that both limitations named will be addressed during the discussion period.
On the RoPE equivalence. We agree it was overstated. We will alter Theorem 1 to a Proposition, the construction is described as a RoPE-inspired discretization rather than an equivalence, and "RoPE-equivalent behavior" and "exact isomorphism to RoPE" will be removed (Reviewer 2aSr's W1 & Q1). Constraint C3 will be restated quantitatively: exhaustive enumeration under the deployed configuration shows the attention map realizes relative distance exactly at unit resolution and within one shift step per group at coarser scales, since rounding does not commute with subtraction. We also report where this bound is not tight, including a phase error reaching at the Nyquist mode (Reviewer 2aSr's W2,3 & Q2).
On the empirical validation of positional effectiveness. We added two experiments during the discussion (Reviewer 2aSr's W4 & Q3). The first is a diagnostic in which the label is the relative distance itself: the no-PE and random-permutation controls remain at chance while our method reaches 90.4% at four times the training length, where the strongest baseline falls to 35.1%. The second is semantic segmentation with a convolution-free decoder, where our method exceeds the no-PE floor by +0.035 mIoU ( ) and +0.046 boundary IoU (p = 0.011). Generation and detection remain open, and we agree they are follow-up work.
The revised version additionally carries error bars and significance tests on all main tables (Reviewer dZG5's W1 & Q1, Reviewer 393t's Q1), the corrected XNOR discussion (Reviewer 393t's Q3), a scoped Zero-FLOP definition (Reviewer 393t's Q4, Reviewer dZG5's Q2), and a limitations paragraph in the main text. Deployment on real neuromorphic hardware, with measured energy against floating-point baselines, remains future work.