# RelFlexformer: Efficient Attention Transformers for Integrable Relative Positional Encodings

*Byeongchan Kim, Arijit Sehanobish, Kumar Avinava Dubey, Min-hwan Oh, Krzysztof M Choromanski*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/154871) · [OpenReview](https://openreview.net/forum?id=AHbhLrT1U0) · [alphaXiv](https://www.alphaxiv.org/abs/2605.10706) · [Open on the map](../papers.html#p154871)

Category: [3D Vision & Image Restoration](../pcat/2.md) › [3D Geometry Foundation Models](../pgroup/535.md) · Type: new method · Keywords: efficient attention, 3D relative positional encoding, Non-Uniform Fourier Transform, point clouds, transformer models

Areas: [Model Architectures & Sequence Modeling](../areas/architectures.md) › World Modeling Architectures › Visual Geometry Transformers

## Summary
RelFlexformer introduces efficient attention transformers that integrate arbitrary 3D relative positional encodings via the Non-Uniform Fourier Transform, achieving O(L log L) complexity for general 3D data such as point clouds.

## Explained to a 5-year-old
Computers can look at 3D objects made of many points, like a cloud of dots. To understand them, the computer needs to know where each point is. Usually, giving this position information takes a lot of time and work. This paper finds a new way to give position information that works for any shape, even if the points are scattered weirdly. It uses a math idea called the Non-Uniform Fourier Transform to make the process faster.

## Explained to a 5-year-old, longer
Computers can look at 3D objects made of many points, like a cloud of dots. To understand them, the computer needs to know where each point is. Usually, giving this position information takes a lot of time and work. This paper finds a new way to give position information that works for any shape, even if the points are scattered weirdly. It uses a math idea called the Non-Uniform Fourier Transform to make the process faster. This trick lets the computer handle many points quickly without slowing down. The new method can be used in many different 3D tasks, like recognizing objects or building virtual worlds. It also works better than older methods on many tests. The paper shows that the faster method still gives good results. It opens the door to using 3D data in more real-world applications. Overall, the work makes it easier and quicker to teach computers about complex 3D shapes.

## For a technical reader
The paper addresses the challenge of efficiently incorporating 3D positional information into transformer models, which is crucial for tasks like point-cloud processing. It proposes a generic framework that uses integrable modulation functions to define relative positional encodings and leverages the Non-Uniform Fourier Transform to compute them in O(L log L) time. This allows the model to handle arbitrary token distributions in 3D space while maintaining fast attention computation. Empirical results on multiple 3D datasets show quality improvements over existing efficient RPE methods. The approach is particularly suited for applications requiring scalable 3D perception.

## Problem
Existing efficient attention mechanisms for 3D data are restricted to structured token layouts, making it difficult to model point clouds and other heterogeneous 3D arrangements. This limits the applicability of relative positional encodings in general 3D scenarios.

## Method
The approach leverages universal 3D Relative Positional Encoding methods defined by integrable modulation functions and builds on the Non-Uniform Fourier Transform to achieve O(L log L) attention computation. It generalizes existing efficient RPE-attention techniques from structured grids to arbitrary token distributions in 3D space. This enables flexible integration of RPEs into transformer models for heterogeneous 3D data.

## Contributions
The paper introduces a new class of efficient attention mechanisms that support arbitrary integrable 3D relative positional encodings and generalizes prior methods to heterogeneous token distributions. It also demonstrates improved performance on a wide range of 3D datasets via empirical evaluation.

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/154871)
