Learning the RoPEs: Better 2D and 3D Position Encodings with STRING

Connor Schenck, Isaac Reid, Mithun George Jacob, Alex Bewley, Joshua Ainslie +17 more
2/4/2025
cs.LGcs.AIcs.CV

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

We introduce STRING: Separable Translationally Invariant Position Encodings. STRING extends Rotary Position Encodings, a recently proposed and widely used algorithm in large language models, via a unifying theoretical framework. Importantly, STRING still provides exact translation invariance, including token coordinates of arbitrary dimensionality, whilst maintaining a low computational footprint. These properties are especially important in robotics, where efficient 3D token representation is key. We integrate STRING into Vision Transformers with RGB(-D) inputs (color plus optional depth), showing substantial gains, e.g. in open-vocabulary object detection and for robotics controllers. We complement our experiments with a rigorous mathematical analysis, proving the universality of our methods.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{schenck2025learning,
  title  = {Learning the RoPEs: Better 2D and 3D Position Encodings with STRING},
  author = {Connor Schenck and Isaac Reid and Mithun George Jacob and Alex Bewley and Joshua Ainslie and David Rendleman and Deepali Jain and Mohit Sharma and Avinava Dubey and Ayzaan Wahid and Sumeet Singh and René Wagner and Tianli Ding and Chuyuan Fu and Arunkumar Byravan and Jake Varley and Alexey Gritsenko and Matthias Minderer and Dmitry Kalashnikov and Jonathan Tompson and Vikas Sindhwani and Krzysztof Choromanski},
  year   = {2025},
  eprint = {2502.02562},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2502.02562v1},
  journal = {ICML 2025 2025}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2502.02562.svg)](https://codeofpaper.com/paper/2502.02562)

Discussion