potentialpaper

Foundations of Categorical Equivariant Deep Learning

Yoshihiro Maruyama

NeurIPS 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

TL;DR. We extend equivariant deep learning from groups to categories, unifying geometric and topological deep learning, proving equivariant universal approximation, and improving composite OOD robustness over group-equivariant and Transformer baselines.

Abstract. Symmetry-aware machine learning is commonly formulated in terms of equivariance under a single group action, but many real-world transformations are typed (i.e., have different source and target contexts), potentially partial or non-invertible, and compositional (e.g., modality transitions, causal updates, spatial/temporal subsampling, information aggregation, translation, logical entailment, intervention chains, reference frame changes, and their compositions). Such real-world transformations are better modeled by a category of transformations whose objects represent data contexts and whose morphisms represent admissible transformations between contexts. We thus extend symmetry-aware deep learning from groups to such transformation categories; enforcing categorical equivariance on neural architectures gives stronger robustness than group equivariance. We ground this in both theory and experiments. We formulate how to build category-equivariant architectures and prove an equivariant universal approximation theorem (UAT) for them (i.e., show that they can approximate any equivariant continuous transformations); specifically, we define the class of category-equivariant neural networks (CENNs) by extending group convolutions to category convolutions. The category-equivariant UAT allows us to systematically derive equivariant UATs for groups/groupoids, posets/lattices, graphs/sheaves, and their compositions such as categorical products and Grothendieck fibrations, unifying geometric and topological deep learning architectures within the single framework of categorical deep learning. Finally, we analyze the practical value of categorical symmetry in machine learning experiments. We present three experiments evaluating the OOD (out-of-distribution) robustness of CENNs and standard models, demonstrating that enforcing categorical equivariance yields measurable robustness gains over group-equivariant and Transformer baselines.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
5 May 2026NeurIPS 2026submittedNeurIPS 2026Accept (spotlight)reviews ↓[1]—[1]
Missing a version?

NeurIPS 2026

Accept (spotlight) · 3 reviews · OpenReview

Updated 25 Nov 2026, 03:47 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (spotlight)
Read decision
Meta-review

This paper discusses generalization of the concept of equivariance from groups to categories, where the new definition is able to enforce robustness to transformations which are not group-like. The reviewers were overall enthusiastic about the paper, praising both the theoretical formulation and empirical results. They mentioned some minor concerns regarding writing, and a concern about accessibility to ML folks not accustomed to category theory, which should be addressed in the camera ready version, assuming the paper is accepted.

Reviewer hCS3 mentioned some uncertainty regarding the contribution of this work in comparison with previous work on catigorical learning. Clarifying these issues should be the main goal of the rebuttal.

Final justification

The reviewers remain happy with this submisson, and all concerns were addressed. I recommend the paper is accepted

Area Chair sRYv · Meta-reviewOpenReview ↗
Read meta-review
Meta-review

This paper discusses generalization of the concept of equivariance from groups to categories, where the new definition is able to enforce robustness to transformations which are not group-like. The reviewers were overall enthusiastic about the paper, praising both the theoretical formulation and empirical results. They mentioned some minor concerns regarding writing, and a concern about accessibility to ML folks not accustomed to category theory, which should be addressed in the camera ready version, assuming the paper is accepted.

Reviewer hCS3 mentioned some uncertainty regarding the contribution of this work in comparison with previous work on catigorical learning. Clarifying these issues should be the main goal of the rebuttal.

Final justification

The reviewers remain happy with this submisson, and all concerns were addressed. I recommend the paper is accepted

Reviewer hCS3OpenReview ↗
Rating
5/6
Confidence
4/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
theory
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The paper presents a unifying framework for equivariant deep learning using category theory. By formulating equivariance as naturality within a topological category, the author introduces \emph{Category Equivariant Neural Networks} (CENNs). The framework brings together different equivariant architectures, such as group/groupoid-equivariant networks, poset/lattice networks, and graph/sheaf neural networks, under a single umbrella. The paper defines linear layers via category convolutions and nonlinearities via scalar gates. The main contribution of the paper is the categorical equivariant Universal Approximation Theorem (UAT), which proves that finite-depth CENNs are dense in the space of continuous equivariant transformations.

Strengths and weaknesses

Strengths:

  • The paper extends the Universal Approximation Theorem (UAT) to a broad categorical setting, while recovering UATs for specific domains (groups, lattices, graphs).

  • The introduction of category convolutions and topological categories with Radon measures provides a nice bridge between categorical concepts and the functional analysis required for deep learning.

Weaknesses:

  • The abstract and introduction give the impression of a general UAT for categorical equivariant architectures, but the full UAT (in the appendix) rests on strong assumptions that are not innocuous. In particular the equivariant-compilation map (called{\bf{(EC)}} in App. B) is assumed to exist. (the retraction RR) is \emph{assumed} to exist rather than constructed, and for graphs and sheaves the stated results are explicitly conditional. This should be made clear in the main text, not left to the appendix.

  • Overall I think the paper is lacking in its treatment of previous works in this area. In particular, the abstract and introduction of the paper gives the impression that this paper is the first to think about category theory in deep learning, which is certainly not the case. As an example: The paragraph before table 1 on page 2 starts out: "We thus propose to extend symmetry-aware machine learning from groups to categories of transformations." This is misleading, as these points have certainly been made before, in particular in the position paper by Gavranovic et al. More on this in the point below.

  • One of the main conceptual points in the paper is that equivariance is \emph{natural} in the context of category theory, i.e. that a \emph{natural transformation} in category theory is equivariant by construction. Now this point has been previously emphasized first by de Haan, Cohen, Welling (arXiv:2007.08349) in the context of graph neural networks, and then generalized by Gavranovic et al (arXiv:2402.15332). The submission cites Gavranovic et al only in passing and never performs any explicit comparison on what is new here with respect to these older works.

    • The paper contains three experiments that demonstrates robustness of the CENNs. However, it seems to me that the connection between these experiements and the UAT is not clear.

    • The experiments does not have any comparisons between the equivariant setting and data augmentation. This is a shortcoming of the paper.

Questions
  • Could the proposed framework yield new architectures for symmetries that are currently difficult to model using standard group-equivariant methods? For example, non-invertible symmetries?

  • Does anything in the experimental results actually make use of the UAT?

  • Could you clearly highlight which parts of the general conceptual framework that are new or gives a different perspective with respect to the previous position paper of Gavranovic et al?

Limitations

Yes

Final justification

I am happy with the explanations and clarifications of the authors' rebuttal. I have therefore decided to raise my score to 5.

Formatting concerns

No

2 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We are grateful to the reviewer for your careful reading of the paper and constructive feedback.


Reply to Q1.

Yes, a major strength of the proposed framework is its ability to generate new architectures for non-invertible, typed, and compositional symmetries. Categorical equivariance can naturally represent transformations such as projections, coarsenings, occlusions, subsampling, causal updates, and irreversible dynamics, which cannot be represented by the standard group-based framework.

The proposed framework supports several promising architectural families. Resolution-natural networks can commute with pooling and coarsening. Projection-equivariant networks can preserve the distinction between persistent and removed information. Semigroup-equivariant neural operators can respect diffusion, filtering, and causal evolution. Occlusion-natural transformers can maintain coherent representations as tokens or sensors are removed. Similar constructions can model intervention chains, changing sensor configurations, and context-dependent transformations.

These architectures can be derived systematically by specifying primitive transformations and their compositional relations, assigning feature transports to them, and constraining neural layers to satisfy categorical equivariance. Enforcing these constraints on the primitive generators automatically yields consistency for all their compositions, providing a strong inductive bias for generalization to unseen transformation sequences.

The manuscript’s Group times Poset model already illustrates this principle by combining invertible transformations with non-invertible hierarchical aggregation in a unified architecture. More broadly, the framework establishes categories as an architecture-design language capable of producing new symmetry-aware models for irreversible, hierarchical, and context-dependent processes. Non-invertible symmetries as suggested by the reviewer, therefore, represent one of the most exciting opportunities created by categorical equivariance. (Non-invertible symmetries are also studied extensively in contemporary physics.)


Reply to Q2.

Let us clarify the relationship between the UAT and the experiments. The UAT provides a theoretical guarantee for category-equivariant learning and thereby supports the theoretical foundation of the experiments. Under the stated assumptions, any suitable continuous category-equivariant map can be approximated arbitrarily well by a finite-depth CENN. Thus, the equivariant predictors required by the experimental tasks are guaranteed by the UAT to lie within the approximation capacity of the CENN framework.


Reply to Q3.

Let us clarify the relationship between the two works. Gavranović et al.'s position paper develops an algebraic general theory of architectures in a mathematically elegant manner, where “algebraic” specifically means “monadic” in the sense of category theory. By contrast, our work neither relies on the theory of monads nor seeks to formulate a general theory of architectures. Rather, our work develops the theory of category-equivariant neural networks together with the category-equivariant universal approximation theorem, which Gavranović et al.'s paper does not provide. This is the theoretical difference between the two works. On the empirical application side, Gavranović et al.'s paper does not present concrete experiments or empirical evaluations, whereas we demonstrate several experimental applications based on categorical constructions such as the Grothendieck construction.


Many thanks again for your review. We will improve the paper taking all of your precious comments into account.

Reviewer hCS3 · CommentOpenReview ↗

Reply to authors

Dear authors, Thanks for the clarifications. I am happy with your rebuttal. You clearly adress my concerns. It would be very good if you could implement these clarifications in the final version, if the paper is accepted.

Reviewer tUWXOpenReview ↗
Rating
5/6
Confidence
3/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
theory
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The paper aims to build a theoretical basis for generalizing group-equivariance theory to the case of equivariance (termed naturality) with respect to other objects (categories). Particular cases of interest for applications include monoids, posets, graphs, and so on. The proposed framework, called CENNs (category-equivariant neural networks), can combine naturality with respect to different categories of transformations. A generalization of the universal approximation theorem is formulated for this type of network. The results are examined on experiments involving 'compositional' (considering the product category Group × Poset) and 'context-dependent' (attempting to integrate local symmetries over multi-modal contexts) symmetries.

Strengths and weaknesses

Strengths:

  1. The motivation is clear, and I agree with it. It is a natural desire to generalize the concept of group equivariance to the case of equivariance with respect to other objects.
  2. The introduction is well-written and clearly positions the paper within the landscape of related works.
  3. The main part of the paper is generally well-written and accessible to the ML community. Many of my initial questions that arose during my reading were immediately answered later in the text.
  4. The experiments presented in Sections 3 and 4 seem very interesting and illustrate that the approach is novel.

Weaknesses:

  1. Not all the category-theoretic definitions used in the main part are introduced, which makes it more difficult for the broad ML community. I would suggest providing precise definitions in the appendix for those that are introduced concisely in the main text. In particular:
  • Line 103: definitions of Ob(BG) = {∗} and HomBG(∗, ∗) are not clear, and they are further mentioned in a more general case in Line 124.
  • I suggest adding to the appendix all the basic category-theoretic concepts needed to understand the definitions in the main part (starting with what a category is, etc.). In particular, when reading the introduction for the first time, I did not understand what “Arrows encode” means in Table 1.
Questions
  1. How should one distinguish between different categories for a given dataset? For example, in Section 3.2, why does the sensor structure correspond to a poset (why consider non-invertible transformations here, and why hierarchical)? Any recommendations for practitioners on choosing a category type would be appreciated.
  2. How do Definitions 1-4 help in constructing mappings that satisfy 'naturality' and are used in the layers? If they do not directly answer this, how can such mappings still be constructed? I saw the examples, for instance on lines 209–211, but did not understand how these mappings were proposed and how they work precisely. Can any of the well-known types of mappings (or approaches) that are equivariant, e.g., with respect to pseudo-orthogonal groups O(p,q), be generalized to arbitrary categories in the same manner? I believe that developing equivariant mappings for categories is one of the most important questions for the significance of this approach to the community.
  3. Experimental results: how is the group-equivariant architecture selected? Can higher accuracy be obtained if we select the group-equivariant architecture more carefully?
Limitations

There is no dedicated limitations section in the text. However, structural assumptions, finite/compact approximation scope, and experimental setting are discussed. I still believe it would be useful to have a separate section on this topic, elaborating on how all these settings limit the approach's application.

Final justification

I am satisfied by the authors’ answers to the questions and comments, so I keep my score

Formatting concerns

I did not notice any major issues in this paper with respect to violation of formatting, anonymity, etc.

2 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We are grateful to the reviewer for your careful reading of the paper and constructive feedback.


Reply to Q1.

A basic principle is to choose the category from the transformations and information flow that the model should respect. In Section 3.2, the sensor organization naturally forms a hierarchy from axis-level signals, through sensor-level representations, to the fused TOTAL representation. A poset is appropriate because these levels have a canonical order of aggregation. Axis-level streams are combined into representations of individual sensors, and the sensor representations are subsequently combined into a representation of the complete sensing system.

The arrows of the poset encode this directed aggregation process. Axis-to-sensor aggregation summarizes the three coordinate streams of each sensor, while sensor-to-TOTAL aggregation combines the resulting ACC and GYR representations. The associated maps are designed as forward summaries, so the categorical structure records how they compose without requiring reverse transformations.

This hierarchy provides a useful inductive bias. Each level has a distinct semantic role, parameter sharing can follow the sensor organization, and fusion occurs only after the relevant sensor-level features have been constructed. Categorical equivariance then ensures hierarchical consistency: i.e., feature processing is consistent across all levels of the hierarchy.

The group and poset factors describe complementary aspects of the data. Group actions capture transformations such as temporal shifts, gain changes, and rotations. The poset captures the structured flow from coordinate measurements to sensor features and finally to multimodal fusion. Their product expresses that the model should respect both transformation symmetry and sensor organization simultaneously.

For practitioners, we recommend using a group for reversible transformations; a monoid for composable updates such as filtering or smoothing; a poset for refinement, resolution, inclusion, or aggregation hierarchies; and a groupoid for context-dependent local symmetries; note that a more general category is appropriate when several typed or path-dependent transformations connect the same contexts. Category theory further allows us to compose such different types of structures. Product categories are especially useful when several structures act simultaneously, while Grothendieck-type category-integration constructions are appropriate when the symmetry structure varies across modalities or processing stages. There are also many other categorical constructions we can apply in machine learning contexts.

In practice, one can identify the meaningful data contexts, list the primitive transformations between them, and record how these transformations compose. The smallest category capturing these relationships usually provides the most domain-grounded inductive bias.


Reply to Q2.

We agree that developing expressive equivariant mappings for categories is highly important for applications of category-equivariant neural networks. We address this through category convolution in the appendix of the paper, which turns categorical equivariance from an abstract compatibility requirement into a concrete layer-construction principle. Let us explain some details here.

The appendix develops category convolution as a systematic way to construct category-equivariant layers. The category-convolution layer, denoted LKL_K for a category kernel KK, gives a categorical generalization of convolution. Ordinary convolution aggregates information over translations. Group convolution aggregates over group elements. Graph convolution aggregates over neighbouring vertices or edges. Category convolution aggregates over morphisms, allowing each morphism to have a source type, a target type, and a compositional meaning.

The integrated naturality condition in the appendix is the categorical analogue of the steerability equation for group-equivariant kernels. It requires the kernel aggregation to commute with every morphism. We also note that the kernel KK controls how information arriving along each morphism is transformed and that the feature transport expresses how the input changes along morphisms, while the kernel maps the transported feature into the target output space.

The category convolution construction gives one layer formula with several important specializations. For a one-object group category, incoming morphisms are group elements. Category convolution becomes a group-steerable mixing layer, and integrated naturality becomes the familiar kernel covariance equation. Classical group-equivariant kernels appear as a specialization of category kernels.

The universal approximation theorem strengthens the importance of category convolution layers. They provide an expressive architecture class for approximating continuous category-equivariant mappings. At the same time, they practically suggest an automatic category-equivariant layer compiler: the user supplies a category and feature transports, and the compiler derives the kernel-tying equations, computes a basis of admissible kernels, and returns trainable category-convolution layers.

The principal significance of category convolution is that the construction transforms a category of transformations into an explicit space of neural layers. Category convolution thus connects categorical equivariance to implementable architectures, providing a general method for developing equivariant mappings.


Reply to Q3.

The group-equivariant architecture was selected as an equivariant neural network baseline that captures the group symmetry of data. The group-equivariant neural net already produces a substantial improvement in OOD accuracy, demonstrating the practical value of incorporating group symmetry. Categorical equivariance further raises OOD accuracy by jointly organizing symmetries with hierarchical and compositional structure beyond groups.


Many thanks again for your review. We will improve the paper taking all of your precious comments into account. In particular, we will add an appendix section for category theory background used in this paper.

Reviewer tUWX · CommentOpenReview ↗

I appreciate the authors' clarifications and will keep my score at '5'.

Reviewer wqskOpenReview ↗
Rating
6/6
Confidence
4/5
Quality
4/4
Clarity
3/4
Significance
4/4
Originality
4/4
Contribution type
theory
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The paper introduces a framework for generalizing the usual geometric machine learning constructions to a category-theoretic-based construction, that allows for much more general `generalized symmetries' then what are usually considered in the geometric ML framework. The work proposes the generalization (called category-theoretic architectures) showing how they generalize usual equivariant works, produces a universal approximation theorem in this setting, and does two set of numerical experiments. The first shows how the category-theoretic-based construction allows for modeling generalized symmetries over product categories of different types seamlessly. The second shows how architectures allow for the generalized symmetry group to depend on context.

Strengths and weaknesses

I think the work is outstanding. The idea is natural, important but is technically very involved to address. This work is, to my knowledge, the first to fully generalize the Geometric ML framework to monoids in a fully satisfactory way. In addition to the considerable theoretical contributions, the work also conducts very good numerical experiments to lionize and instantiate the theory. My only concern is that the `average' NeurIPS reader likely has very little exposure to category theory, and so may struggle with the notation, motifs and terms of the paper. That said, I think this paper alone makes a good case that category theory is a valuable tool, worth understanding.

Strengths:

  • The setting is important. Geometric ML is an important modern deep learning program, and a category-theoretic generalization is likely to have good impact.
  • The technical contributions are very strong. As discussed above, the `average' ML research is unfamiliar with category-theoretic constructions. Expanding the suit of tools available to DL researchers is really appreciated.
  • The numerical experiments are, to me, extremely compelling. The theoretical contributions are so strong I would be likely to vote for the manuscript's acceptance on them along, but the numerical experiments really are `the icing on the cake.'
  • The described connections to Geometric ML can help a reader new to category theoretic ideas get a foot hold.

Weaknesses:

  • The average NeurIPS reader will struggle greatly to access this work. That said, I think this is properly considered a weakness of the average NeurIPs reader, not really of the work.
  • I think the work could be slightly clarified, described below in the questions section.
Questions

Questions & Clarifications:

  • In line 176, Just to be clear, ``augmentation'' refers to augmentation of the input data w.r.t. the various nuisance transformations, correct?
  • Fist appearing in line 186, please explain what a ``thin category'' is.
  • Lines 285 - 290 I ask that this paragraph be expanded somewhat. The question that this paragraph answers (Namely, why not just concatenate and operator diagonally across different modalities?) is exactly the question that had in my mind reading this paper. I am, however, having a bit of difficulty intuiting why this is the natural answer. An example with concrete context would really help here.
  • Line 302 and elsewhere, what is an ``active symmetry?'' it is clear that a symmetry is referring to a group element. What makes a symmetry active? I'm not sure if the notion of `activeness' is being defined in this line, or else is a known term. Please elaborate.
Limitations

Yes

Formatting concerns

None

2 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We are grateful to the reviewer for your careful reading of the paper and constructive feedback.


Reply to Q1.

Yes, augmentation indeed means data augmentation of the input samples by nuisance transformations such as time shifts, sensor-gain changes, and axis rotations.


Reply to Q2.

A thin category is a category in which, for every pair of objects xx and yy, there is at most one morphism from xx to yy. Thus, each morphism set is either empty or contains exactly one element. Every partially ordered set PP determines a thin category: its objects are the elements of PP, and there is a unique morphism x→yx → y precisely when x≤yx ≤ y. Identity morphisms correspond to reflexivity, and composition corresponds to transitivity. Conversely, every thin category determines a preorder; it determines a partial order when x→yx → y and y→xy → x imply x=yx = y.


Reply to Q3.

Let us clarify it. Concatenating the modalities and applying a diagonal action captures which symmetries act on the input. The categorical construction additionally captures how the symmetry evolves during processing. At fusion, the representation becomes invariant to modality-specific transformations while remaining equivariant to the shared temporal symmetry. This makes the stagewise change of symmetry explicit and compositional.


Reply to Q4.

The active symmetry means the transformations whose equivariance is retained and enforced at a given stage of the architecture. Different stages may retain different symmetries: modality-specific symmetries are present in the encoders, shared symmetries remain at fusion, and all symmetries are removed at the invariant output. Active means currently retained in the processing pipeline. So it is stagewise retained symmetry. It is informal terminology. We will clarify the meaning in the paper.


Many thanks again for your review. We will improve the paper taking all of your precious comments into account.

Reviewer wqsk · CommentOpenReview ↗

Thank you for your response. I have read it, and am satisfied.

Comments on the paper

3 comments
Area Chair sRYv · CommentOpenReview ↗

Dear reviewers, please acknowledge that you have recieved the rebuttal, and let the authors know if you have any further questions

Senior Area Chairs · CommentOpenReview ↗

Relationship to existing references

Dear Author,

It recently came to our attention that in the following published work: "Foundations of Equivariant Deep Learning: Unifying Graph and Sheaf Neural Networks" (ICML 2026, Oral, Spotlight), the Appendix A (pages 11–20) is titled "Category-Equivariant Neural Networks and Their Relation with OENNs". The content in this appendix appears to have substantial overlap with the main part of the NeurIPS submission under review, including but not limited to:

The same Table 1 (Categorical equivariance across domains). The same definition of category-equivariant maps. The same Universal Approximation Theorem (UAT) for category-equivariant neural networks. The same experiment on EMG-IMU (Section 4 in the current paper).

Can you clarify?

Authors · CommentOpenReview ↗

Thank you very much for taking the important role of SAC and for asking the clarification question on the related literature. Let us explain and clarify below.

The appendix of the mentioned paper explicitly refers to an arxiv preprint at its beginning, which has not been published in an archival venue, and then gives an overview of CENN without the details of its definition or proof. Please note that CENN appeared in the preprint first, and the mentioned paper appeared after that.

Due to this chronological order, the mentioned appendix discusses the relation of order-equivariant neural networks (OENN) with CENN. OENN is the technical contribution of the mentioned paper, and CENN is discussed for comparison, together with explicit reference to the arxiv preprint in which CENN appeared first.

So please note that the appendix does not claim that CENN is a new technical contribution and explicitly refers to the preprint for CENN. The preprint was posted on arXiv in November last year, much prior to the mentioned paper's appearance in July this year, and the preprint still remains unpublished in an archival venue (so the main contribution of this submission remains unpublished in an archival venue).

Put another way, the OENN paper treats CENN as prior work (due to the above-mentioned chronological order), and so explains its basic framework with explicit reference/citation to the prior work (without giving precise definitions and proofs, both of which are highly nontrivial/complex and lengthy as seen in this submission's technical appendix and thus are omitted in the OENN paper while citing the CENN preprint for details).

Please note also that OENN, the main contribution of the mentioned paper, does not use category theory, being formulated in terms of order theory (e.g., face posets of graphs, cell complexes, and related topological structures, which are the main objects of study in the OENN paper), and thus the technical contributions of the two papers are clearly different.

If you need more detailed technical comparison of the two papers, please let us know.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Missing a submission?

Loading the discussion…