Clifford Algebraic Rotor Embeddings : Maybe embeddings should start to CARE
Sameeksha Sriram, Ayush Paliwal, Alexander S. Ecker, Chase van de Geijn

TL;DR
This paper introduces Clifford Algebraic Rotary Embeddings (CARE), a novel generalization of rotary positional embeddings using geometric algebra, enabling higher-dimensional and multivector-based positional encoding with promising preliminary results.
Contribution
The paper proposes CARE, a new framework that extends rotary embeddings to arbitrary dimensions and multivectors via Clifford algebra, unifying and generalizing previous approaches.
Findings
QuatRo encompasses spherical RoPE as a special case
CARE enables encoding in higher dimensions and multiple grades
Preliminary experiments compare spherical, quaternion, and Clifford embeddings
Abstract
Rotary Positional Embeddings (RoPE) have demonstrated exceptional performance as a positional encoding method, consistently outperforming their baselines. While recent work has sought to extend RoPE to higher-dimensional inputs, many such extensions are non-commutative, thereby forfeiting RoPE's shift-equivariance property. Spherical RoPE is one such non-commutative variant, motivated by the idea of rotating embedding vectors on spheres rather than circles. However, spherical rotations are inherently non-commutative, making the choice of rotation sequence ambiguous. In this work, we explore a quaternion-based approach -- Quaternion Rotary Embeddings (QuatRo) -- in place of Euler angles, leveraging quaternions' ability to represent 3D rotations to parameterize the axes of rotation. We show Mixed RoPE and Spherical RoPE to be special cases of QuatRo. Further, we propose a generalization…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAlgebraic and Geometric Analysis · Geophysics and Sensor Technology · 3D Shape Modeling and Analysis
