mlsanityData to 14 Oct 2026

Directional Non-Commutative Monoidal Structures for Compositional Embeddings in Machine Learning

arXiv 2505.15507 ↗First posted 21 May 2025cs.LG cs.AI cs.CVcited by 4

Not on the map. Why?

Abstract (arXiv)

We introduce a new algebraic structure for multi-dimensional compositional embeddings, built on directional non-commutative monoidal operators. The core contribution of this work is this novel framework, which exhibits appealing theoretical properties (associativity along each dimension and an interchange law ensuring global consistency) while remaining compatible with modern machine learning architectures. Our construction defines a distinct composition operator circ_i for each axis i, ensuring associative combination along each axis without imposing global commutativity. Importantly, all axis-specific operators commute with one another, enforcing a global interchange law that enables consistent crossaxis compositions. This is, to our knowledge, the first approach that provides a common foundation that generalizes classical sequence-modeling paradigms (e.g., structured state-space models (SSMs) and transformer self-attention) to a unified multi-dimensional framework. For example, specific one-dimensional instances of our framework can recover the familiar affine transformation algebra, vanilla self-attention, and the SSM-style recurrence. The higher-dimensional generalizations naturally support recursive, structure-aware operations in embedding spaces. We outline several potential applications unlocked by this structure-including structured positional encodings in Transformers, directional image embeddings, and symbolic modeling of sequences or grids-indicating that it could inform future deep learning model designs. We formally establish the algebraic properties of our framework and discuss efficient implementations. Finally, as our focus is theoretical, we include no experiments here and defer empirical validation to future work, which we plan to undertake.

Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Builds on 9 of its 22 references that are in the map. First posted on arXiv 21 May 2025.

Builds on

9 of 22 references.

References · 9

  1. 2017Attention Is All You Needcited by 60,361
  2. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
  3. 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,718
  4. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
  5. 2017Neural Message Passing for Quantum Chemistrycited by 3,487
  6. 2020DeBERTa: Decoding-enhanced BERT with Disentangled Attentioncited by 2,181
  7. 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,850
  8. 2018Self-Attention with Relative Position Representationscited by 1,120
  9. 2017Dynamic Routing Between Capsulescited by 689

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 3; 2026: 1.

4 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2023Linear Spaces of Meanings: Compositional Structures in Vision-Language Models
  2. 2023Algebraic Dynamical Systems in Machine Learning
  3. 2026CORE: Improving Compositional Reasoning in MLLM Embedding via Reranker Distillation
  4. 2023Discovering modular solutions that generalize compositionally
  5. 2025Characterizing Pattern Matching and Its Limits on Compositional Task Structures
  6. 2024On Provable Length and Compositional Generalization
  7. 2026Why Depth Matters in Parallelizable Sequence Models: A Lie Algebraic View
  8. 2024Inducing Systematicity in Transformers by Attending to Structurally Quantized Embeddings