Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Composing Linear Layers from Irreducibles

About

Contemporary large models often exhibit behaviors suggesting the presence of low-level primitives that compose into modules with richer functionality, but these fundamental building blocks remain poorly understood. We investigate this compositional structure in linear layers by asking: can we identify/synthesize linear transformations from a minimal set of geometric primitives? Using Clifford algebra, we show that linear layers can be expressed as compositions of bivectors -- geometric objects encoding oriented planes -- and introduce a differentiable algorithm that decomposes them into products of rotors. This construction uses only O(log^2 d) parameters, versus O(d^2) required by dense matrices. Applied to the key, query, and value projections in LLM attention layers, our rotor-based layers match the performance of strong baselines such as block-Hadamard and low-rank approximations. Our findings provide an algebraic perspective on how these geometric primitives can compose into higher-level functions within deep models.

Travis Pence, Daisuke Yamada, Vikas Singh• 2025

Related benchmarks

TaskDatasetResultRank
Language ModelingWikiText-2--
841
Question AnsweringARC Challenge
Accuracy61.34
749
Language ModelingPTB--
650
Common Sense ReasoningHellaSwag
Accuracy50.2
164
Language ModelingC4
Log-PPL2.854
35
Showing 5 of 5 rows

Other info

Follow for update