English

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

Machine Learning 2025-02-06 v1 Artificial Intelligence Computer Vision and Pattern Recognition Robotics Machine Learning

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.

Keywords

Cite

@article{arxiv.2502.02562,
  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},
  journal= {arXiv preprint arXiv:2502.02562},
  year   = {2025}
}

Comments

Videos of STRING-based robotics controllers can be found here: https://sites.google.com/view/string-robotics

R2 v1 2026-06-28T21:32:29.843Z