arXiv Machine Learning By Vincent Abbott, Gioele Zardini

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

Read the original on arXiv Machine Learning →

arXiv:2604. 07242v3 Announce Type: replace Abstract: Despite deep learning models running well-defined mathematical functions, we lack a formal mathematical framework for describing model architectures.

Machine-generated by The Flow from the publisher's headline and feed description — not written or checked by a human. The full article lives at arXiv Machine Learning.

arXiv AI
Aug 20

Graphical Design of Interpretable Architectures

The paper introduces a graphical notation, adapted from Penrose tensor notation, to design and represent interpretable AI architectures. This notation provides a global view of an architecture and maps directly onto PyTorch einsum code, enabling clear depiction of tensor manipulations. The authors apply the notation to several interpretable models—concept bottlenecks, sparse probes, prototype networks, neural additive models, and mixtures of linear models—and use it to diagram the key components of the Steerling-8B language model, revealing its residual structure and allowing a concise 33‑line PyTorch implementation.

By Pietro Barbiero
Hugging Face Trending Papers
Aug 19

Graphical Design of Interpretable Architectures

The paper introduces a new graphical notation, adapted from Penrose tensor notation, to design and represent interpretable AI architectures. Unlike symbolic equations or probabilistic models, this notation provides a global view of an architecture while directly mapping to PyTorch einsum code. The authors demonstrate its use on several interpretable models and on the Steerling-8B language model, revealing structural insights and enabling concise code generation.

arXiv AI
Oct 16

Product Interaction: An Algebraic Formalism for Deep Learning Architectures

The paper introduces Product Interactions, an algebraic framework that unifies modern neural architectures by treating data as algebraic elements and multiplication as a core operation. It shows how convolutional, equivariant, state‑space, and attention models arise from different orders of product interactions and symmetry constraints, and demonstrates that a simplified algebraic dynamical layer can outperform Mamba on CIFAR‑10. The framework positions architecture design as a systematic algebraic construction problem, enabling both analysis of existing models and generation of new ones.

By Haonan Dong, Chun-Wun Cheng, Angelica I. Aviles-Rivero
arXiv Machine Learning
Oct 16

Interfaces and Modules: A Scalable Representation for Weight-Space Learning across Architectures

The paper introduces the Universal Weight Encoder (UWE), a scalable representation for weight-space learning that uses a typed graph of interfaces and modules to respect parameter symmetries across diverse neural network architectures. UWE combines local equivariant updates with global attention over invariant interface summaries, enabling a single encoder to process multiple supported architectures efficiently. Experiments show UWE matches or surpasses architecture‑specific state‑of‑the‑art methods on standard benchmarks and excels on a large zoo of 1,200 transformers, ranking unseen architectures accurately while using significantly less memory.

By Micha{\l} Kozyra, Michael Bronstein
arXiv Machine Learning
Oct 28

On the Architectural Complexity of Neural Networks

The paper presents a unified theoretical framework for analyzing and constructing deep neural networks by explicitly modeling tensor operations, which are often abstracted in existing theories. This framework allows researchers to study how architectural complexity has evolved over the past 40 years and to automatically generate new architectures using novel tensor operations. The authors also release a dataset of over 3,000 higher‑complexity architectures that have not yet been explored, providing a resource for future research.

By Nicholas J. Cooper, Fran\c{c}ois G. Meyer, Michael L. Roberts, Carlos Zapata-Carratal\'a, Lijun Chen, Danna Gurari
arXiv Machine Learning
Nov 16

mlr3torch: A Deep Learning Framework in R based on mlr3 and torch

The article introduces mlr3torch, an R package that extends the mlr3 ecosystem with deep learning capabilities built on torch. It simplifies defining, training, and evaluating neural networks for tabular data and generic tensors, supports predefined architectures, graph-based network definitions, and seamless integration with mlr3 workflows. The paper demonstrates its use in hyperparameter tuning, fine‑tuning, multimodal architecture design, and provides runtime benchmarks.

By Sebastian Fischer, Lukas Burk, Carson Zhang, Bernd Bischl, Martin Binder