Modern neural architectures are largely developed as distinct empirical constructions, despite recurring principles across convolutional, attention, state-space, and equivariant models. We introduce Product Interactions, an algebraic formalism that unifies these architectures under a common construction principle and turns their design into a systematic procedure. The core shift is representing data as algebraic elements and treating multiplication, rather than linear transformation alone, as a primitive architectural operation. Architectures are generated by composing multiplication operators, with input dependence organized by self-interaction order. Within this formalism, we derive convolutional and equivariant networks as symmetry-constrained first-order product interactions, recover Mamba from state-space models as an increase in self-interaction order from one to three, and establish attention as a third-order interaction from composing the same operator. Equivariance is incorporated by constraining the algebraic product via symmetry: translation equivariance yields convolution, while SO(3)-compatibility produces the Clebsch--Gordan product and tensor-field interactions. This perspective recasts architecture design as an algebraic construction problem: the choice of algebra defines admissible interactions, symmetry constrains their structure, and composition generates higher-order architectures. The framework is thus generative. Following these principles, we construct a simplified-algebra dynamical layer that improves both accuracy and throughput over Mamba on CIFAR-10. Experiments show that interaction order affects accuracy non-monotonically and symmetry constraints boost learnability. Product Interactions provides a mathematical methodology for analyzing existing architectures and systematically designing new ones.
Figures & tables
Figure 1: Algebraic multiplication of basis elements, determined by the structure constants λijk .
Figure 2: Commutative diagram illustrating the equivariance of a Product Interaction operator under a symmetry transformation.
Model
Mamba
(I=3,H=2)
(I=3,H=1)
(I=2,H=1)
(I=1,H=1)
Accuracy
86.818±0.141
87.118±0.254
86.748±0.192
85.760±0.152
86.112±0.218
Training speed
4.81 it/s
12.95 it/s
–
–
–
Inference speed
15 it/s
39 it/s
–
–
–
Table 1: Comparison of classification accuracy, training throughput, and inference throughput for Vision Mamba and the proposed dynamical layers on CIFAR-10. The proposed models are indexed by the self-interaction orders of the input term I and hidden state H . Accuracy is reported as mean ± standard deviation, and throughput is measured in iterations per second. Furthermore, as speed differences across models of different orders are negligible, we report the performance of the highest-order model, with omitted values indicated by (–).
Model
With Sym
Without Sym
Reg Sym
Accuracy
0.988
0.445
0.943
Table 2: MNIST classification accuracy for multiplication operators with exact symmetry constraints (With Sym), without symmetry constraints (Without Sym), and with symmetry constraints imposed through regularization (Reg Sym).
Model
R=1
R=2
R=4
length 192
0.3603
0.9173
0.9239
Table 3: Copy-task accuracy for different projection ranks R at sequence length 192 .