# SpRePE: A Spherical Geometry-Aware Position Embedding scheme for Vision Transformers

*Qilong Jia, Yi Xiao, Wei Xue*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/154280) · [OpenReview](https://openreview.net/forum?id=F06aHos38r) · [Open on the map](../papers.html#p154280)

Category: [3D Vision & Image Restoration](../pcat/2.md) › [3D Scene Understanding and Reconstruction](../pgroup/493.md) · Type: new method · Keywords: spherical position embedding, geometry-aware transformers, Householder reflection, spherical data, Vision Transformer, relative position

Areas: [Model Architectures & Sequence Modeling](../areas/architectures.md) › World Modeling Architectures › Visual Geometry Transformers; [Computer Vision & 3D](../areas/computer-vision.md) › Geometric Vision › Geometric Transformers

## Summary
SpRePE introduces a spherical geometry-aware position embedding that encodes absolute spherical coordinates via Householder reflections on query and key vectors, injecting sphere-aware relative geometric information into Vision Transformers and achieving competitive performance on spherical tasks.

## Explained to a 5-year-old
Some computers (like Vision Transformers) need to know where things are on a round surface, like the Earth. Right now, the way they know positions works best for flat surfaces, not round ones. The researchers made a new trick that helps the computer understand the round shape by using reflections. This trick lets the computer compare things on the round surface without needing a lot of extra work. It helps the computer do better jobs like predicting weather or understanding pictures of the sky.

## Explained to a 5-year-old, longer
Vision Transformers are computer models that look at pictures and try to understand them. They need to know where each part of a picture is, which is called position information. Most position methods work well for flat pictures, like a piece of paper. But sometimes we need to look at round things, like the Earth or a sphere, where the surface curves. On a round surface, there are special problems: the lines of longitude wrap around, there is a point at the top (the pole), and the shortest path between two points follows the curve of the sphere. Existing position methods cannot handle these round-surface problems, so the computer may make mistakes. The researchers came up with a new idea that uses reflections to turn the round positions into something the computer can compare. By reflecting the positions, the computer automatically gets information about how far apart two points are on the sphere. This new idea works without adding a lot of extra calculations, so it stays fast. It can be used as a drop-in replacement for existing position embeddings, meaning you just plug it in and it works. The authors tested it on three tasks: classifying spherical images, estimating depth from panoramic views, and forecasting global weather. In each case, the new method performed as well as or better than the old methods, especially when the spherical geometry mattered.

## For a technical reader
The paper addresses the limitation of standard position embeddings for spherical data by proposing a geometry-aware embedding that leverages Householder reflections on query/key vectors. This induces a relative spherical position term directly in the attention computation, eliminating the need for explicit bias matrices or architectural changes. The method maintains the same computational complexity as rotary positional embeddings (RoPE) while providing explicit spherical geometry awareness. Evaluations on spherical image classification, panoramic depth estimation, and global weather forecasting demonstrate competitive performance and notable gains where geometry is critical. The solution is drop-in compatible with existing Vision Transformer backbones, making it easy to adopt.

## Problem
Standard position embedding schemes are designed for Cartesian grids and cannot naturally handle spherical geometry such as longitude periodicity, polar singularities, and geodesic relations, limiting Transformers' ability to model spherical data without architectural changes.

## Method
The approach encodes each token's absolute spherical coordinates by applying Householder reflections to query and key vectors, which induces a spherical relative-position term in the attention inner product, thereby injecting geometry without extra bias matrices or architecture changes.

## Results
The approach shows competitive performance against strong baselines and notable improvements on tasks where spherical geometry is critical.

## Contributions
The paper presents a drop-in spherical position embedding that respects longitude periodicity, polar singularities, and geodesic relations, injects geometry via attention inner products, and maintains the same asymptotic overhead as RoPE.

## Practical relevance
Enables more accurate modeling of spherical data in fields like meteorology and physics, facilitating better predictions and analyses on global scales.

## Research questions this paper is counted under

- [How can neural models incorporate spherical geometry to accurately model planetary-scale dynamics?](../q/831.md)

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](../feedback/?on=p/154280)
