NeurIPS 2026QuestionsPapersAreasAboutMarkdown

BitShift-RoPE: Zero-FLOP Relative Positional Encoding for Spiking Neural Network Transformers

Seung-Kyu Hong, Sangheum Hwang, HYUK-YOON KWON

NeurIPS page · OpenReview · Open on the map

Category: Brain Signals & Spiking Networks › Spiking Neural Networks · Type: new method · Keywords: Spiking Neural Networks, positional encoding, zero-FLOP, binary integrity, energy-efficient transformers

Areas: Model Architectures & Sequence Modeling › Neural and brain architectures › Spiking Neuron Dynamics

Summary

BitShift-RoPE introduces a zero-FLOP relative positional encoding that preserves binary integrity in Spiking Neural Network Transformers, enabling efficient SNN-based transformers.

Explained to a 5-year-old

Spiking neural networks are like tiny computers that only fire a signal when they get enough push. They are very energy-saving, which is great for small devices. When we try to use them in a transformer, we need to tell the model the order and location of things. Usually we do this with complicated math that uses a lot of power. This paper finds a trick: instead of doing math, we just shift bits around using simple hardware moves.

Explained to a 5-year-old, longer

Spiking neural networks are like brain cells that only send a signal when they have enough input. They use very little power, which is perfect for small gadgets. When we want to use these networks in a transformer, we need to tell the model where things are in a sequence or a picture. Traditional methods use lots of math calculations that need energy. This paper discovers a simple way to move information by shifting bits, which needs almost no calculations. The shift method works for sequences of numbers, words, and images, and it also works in two dimensions for grids. Because the model stays binary, it can still run on low-power hardware. This makes it possible to build smarter devices that use less electricity while still understanding complex data.

For a technical reader

The method replaces trigonometric rotations with hardware-implemented cyclic shifts, preserving binary query/key integrity and enabling attention via bitwise AND operations. It maps exponential decay frequencies to integer shifts and extends to 2D spaces, achieving zero-FLOP positional encoding. Evaluations show state-of-the-art results on forecasting, text, and image tasks with unchanged energy consumption.

Problem

Applying transformer architectures to Spiking Neural Networks is challenging because existing positional encodings rely on floating-point arithmetic, which breaks the binary nature of SNNs, and they often fail to capture relative spatial distances accurately.

Method

The approach replaces floating-point trigonometric rotations with discrete cyclic-shift operations implemented via hardware memory-pointer routing, mapping exponential decay frequencies to integer shift steps and extending to 2D orthogonal spaces. This preserves binary query/key integrity, allowing attention to be computed using only sparse bitwise AND operations. The resulting positional encoding requires no floating-point operations, maintaining the energy efficiency of SNNs.

Results

The approach achieves an average R² of 0.758 on time-series forecasting, 69.91% accuracy on text classification, and 84.17% accuracy on image classification, matching prior SNN transformer performance while using the same energy (0.216 mJ/sample).

Contributions

The paper introduces a relative positional encoding that works natively with binary spikes, requires zero floating-point operations, and extends to 2D spaces while preserving binary integrity for efficient attention. It also provides empirical evidence across three tasks showing state-of-the-art performance with unchanged energy consumption.

Research questions this paper is counted under

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction