NeurIPS 2026QuestionsPapersAreasAboutMarkdown

Fast Sandwich Products in Clifford Algebra

Travis Pence, Daisuke Yamada, Jiaqi Mo, Chanyoung Moon, Karthikeyan Sankaralingam, Vikas Singh

NeurIPS page · Open on the map

Category: Causality, Privacy & Learning Theory › Interpretable Additive Modeling · Type: new method · Keywords: Clifford algebra, sandwich product, geometric deep learning, efficient rotation, sparse updates

Areas: Model Architectures & Sequence Modeling › Scientific and Medical Architectures › Clifford Algebra

Summary

The paper presents an algorithm that efficiently computes the sandwich product in Clifford algebra by decomposing it into sparse updates, achieving up to 64× speed and 35× memory improvements over existing implementations.

Explained to a 5-year-old

In some math, you can rotate things using a special kind of number called a rotor. Doing this rotation is slow and uses a lot of memory. The authors found a way to break the rotation into tiny steps that only change a few parts at a time. This makes the rotation much faster and uses less memory. Now big models can use this rotation without slowing everything down.

Explained to a 5-year-old, longer

In some math, you can rotate things using a special kind of number that holds the rotation information. When you want to rotate a shape, you multiply the shape by this number and its opposite. Doing this multiplication can be slow because it involves many calculations. It also needs a lot of memory because you have to store a big table of numbers. The researchers noticed that the rotation can be broken down into many small steps. Each small step only changes a couple of parts of the shape, not everything. By using these small steps, you can skip the big calculations and save memory. This makes the whole rotation process much faster and lighter. The new method works like a shortcut that jumps directly to the result. It lets computers do the rotation in a fraction of the time they used before. Because it is faster, bigger models can use this rotation without slowing down. This helps people build more powerful computer programs that understand shapes.

For a technical reader

The paper addresses the computational bottleneck of applying rotations to multivectors in Clifford algebra, which is common in geometric deep learning. Existing implementations compute the sandwich product either via geometric products or by constructing a full 2n × 2n action matrix, both of which scale poorly with dimension. The authors decompose the sandwich action into grade-wise exterior powers, factor the induced vector rotation into Givens rotations, and apply these as sparse updates on blade pairs. This avoids forming rotor coefficients or the large action matrix, resulting in up to 64× faster wall-clock time and 35× lower memory usage. The improvements make high-dimensional rotor-based layers feasible for practical applications.

Problem

Applying rotations to multivectors via the sandwich product in Clifford algebra is computationally expensive because existing implementations rely on geometric products or full action matrices that scale poorly with the dimension of the Clifford basis. This limits the use of Clifford algebra-based models to small algebras.

Method

The approach decomposes the sandwich action grade-wise into exterior powers of the induced vector rotation, factorizes this rotation into Givens rotations, and applies their lifted actions as sparse updates on pairs of blades, avoiding formation of rotor coefficients or the full action matrix.

Results

The approach achieves up to 64× wall-clock speed and 35× memory savings compared to existing rotor-sandwich implementations, enabling rotor-based layers at previously infeasible scales.

Contributions

It provides a scalable algorithm for the sandwich product that works with the inomn2-parameter rotor description, and demonstrates substantial efficiency gains that make high-dimensional Clifford algebra layers practical.

Practical relevance

It allows researchers and practitioners to deploy Clifford algebra-based models at larger scales, facilitating more expressive geometric reasoning in machine learning.

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