mlsanityData to 7 Oct 2026

GridPE: A Grid Cell-Inspired Unified Position Embedding for Arbitrary-Dimensional Spaces

arXiv 2406.07049 ↗First posted 11 Jun 2024cs.NE cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

Understanding spatial relationships across all dimensions is fundamental for intelligent systems. However, existing positional embeddings, such as Rotary Positional Embedding (RoPE), lack theoretical guarantees for high-dimensional spatiotemporal tasks like video understanding and robotic navigation. Inspired by the hexagonal periodic coding of grid cells in mammalian spatial cognition, we propose GridPE -- a novel positional embedding framework that integrates computational neuroscience principles with harmonic analysis. Our approach builds upon Random Fourier Features and leverages principles from neuroscience to construct efficient embeddings. Theoretically, we prove that any translation-invariant spatial function can be approximated by a finite sum of Fourier bases, which naturally reduces to RoPE in the one-dimensional case. We then derive the directions and quantities of frequency vectors at each scale in any Euclidean dimension, along with the optimal ratio between different scales, from a bioavailability perspective. These derivations are equivalent to the relationship between the centroid and the vertices of a regular simplex in that dimension. We validate GridPE across a range of spatial modeling tasks, including 2D image classification (ImageNet100) and 3D point cloud recognition (ModelNet40). Our theoretical analysis establishes GridPE as a unified framework for positional embedding in arbitrary-dimensional spaces, while empirical results demonstrate its superiority over existing methods.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 25 of its 50 references that are in the map. First posted on arXiv 11 Jun 2024.

Builds on

25 of 50 references.

References · 25

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  4. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  5. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
  6. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,581
  7. 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
  8. 2020Fourier Features Let Networks Learn High Frequency Functions in Low Dimensional Domainscited by 2,170
  9. 2021Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolationcited by 1,085
  10. 2020PCT: Point cloud transformercited by 730
  11. 2023EVA-02: A Visual Representation for Neon Genesiscited by 377
  12. 2023Unified-IO 2: Scaling Autoregressive Multimodal Models with Vision, Language, Audio, and Actioncited by 301
13 more
  1. 2024Rotary Position Embedding for Vision Transformercited by 226
  2. 2021Learnable Fourier Features for Multi-Dimensional Spatial Positional Encodingcited by 93
  3. 2020Multi-Scale Representation Learning for Spatial Feature Distributions using Grid Cellscited by 88
  4. 2019Encoding word order in complex embeddingscited by 53
  5. 2021A Review of Location Encoding for GeoAI: Methods and Applicationscited by 53
  6. 2023Sphere2Vec: A General-Purpose Location Representation Learning over a Spherical Surface for Large-Scale Geospatial Predictionscited by 38
  7. 2021SHAPE: Shifted Absolute Position Embedding for Transformerscited by 37
  8. 2021Rethinking Positional Encodingcited by 36
  9. 2023Length Extrapolation of Transformers: A Survey from the Perspective of Positional Encodingcited by 32
  10. 2021Persformer: A Transformer Architecture for Topological Machine Learningcited by 19
  11. 2018Learning Grid Cells as Vector Representation of Self-Position Coupled with Matrix Representation of Self-Motioncited by 18
  12. 2013The Sense of Place: Grid Cells in the Brain and the Transcendental Number ecited by 12
  13. 2019A computational model for grid maps in neural populationscited by 1

Built on by

Not cited yet.