cs.LGJan 31, 2026

Product Interaction: An Algebraic Formalism for Deep Learning Architectures

Authors: Haonan Dong, Chun-Wun Cheng, Angelica I. Aviles-Rivero

Organizations: Tsinghua University · University of Cambridge · YMSC, Tsinghua University

Abstract

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

Explore similar work

CardsList
  1. Change the Product, Keep the Parameters: Associative Algebra Layers for Transformers

    Sep 26, 2026Ilya Koziev, Ivan OseledetsTransformerLLM Inference Acceleration

  2. Weaves, Wires, and Morphisms: Formalizing and Implementing the Algebra of Deep Learning

    Apr 8, 2026Vincent Abbott, Gioele Zardini

  3. On the Architectural Complexity of Neural Networks

    May 5, 2026Nicholas J. Cooper, François G. Meyer, Michael L. Roberts +3