Papers
Topics
Authors
Recent
Search
2000 character limit reached

Working Paper: Towards a Category-theoretic Comparative Framework for Artificial General Intelligence

Published 30 Mar 2026 in cs.AI | (2603.28906v1)

Abstract: AGI has become the Holly Grail of AI with the promise of level intelligence and the major Tech companies around the world are investing unprecedented amounts of resources in its pursuit. Yet, there does not exist a single formal definition and only some empirical AGI benchmarking frameworks currently exist. The main purpose of this paper is to develop a general, algebraic and category theoretic framework for describing, comparing and analysing different possible AGI architectures. Thus, this Category theoretic formalization would also allow to compare different possible candidate AGI architectures, such as, RL, Universal AI, Active Inference, CRL, Schema based Learning, etc. It will allow to unambiguously expose their commonalities and differences, and what is even more important, expose areas for future research. From the applied Category theoretic point of view, we take as inspiration Machines in a Category to provide a modern view of AGI Architectures in a Category. More specifically, this first position paper provides, on one hand, a first exercise on RL, Causal RL and SBL Architectures in a Category, and on the other hand, it is a first step on a broader research program that seeks to provide a unified formal foundation for AGI systems, integrating architectural structure, informational organization, agent realization, agent and environment interaction, behavioural development over time, and the empirical evaluation of properties. This framework is also intended to support the definition of architectural properties, both syntactic and informational, as well as semantic properties of agents and their assessment in environments with explicitly characterized features. We claim that Category Theory and AGI will have a very symbiotic relation.

Summary

  • The paper proposes a formal framework leveraging category theory to compare AGI architectures by distinguishing syntactic workflows and epistemic structures.
  • It demonstrates how hypergraph categories and functorial mappings enable detailed analysis of agent modules, feedback loops, and knowledge modularity.
  • The framework systematically compares architectures such as RL, CRL, SBL, and AIXI, underlining differences in expressivity, modularity, and causal structure.

A Category-Theoretic Comparative Framework for AGI Architectures

Introduction and Motivation

This paper develops a rigorous, category-theoretic framework for the formalization, comparison, and analysis of AGI architectures (2603.28906). The central thesis is that categorical structures—specifically, hypergraph categories equipped with symmetric monoidal and commutative Frobenius algebraic properties—provide a unifying syntax in which a broad spectrum of AGI agent models can be described. These range from classical reinforcement learning (RL) to causal RL, universal AI agents (e.g., AIXI), and schema-based learning (SBL), among others. The approach abstracts agent architectures from implementation details, instead treating them as algebraic theories of computational interaction, distinguishing between syntactic workflow (component organization) and epistemic structure (admissible knowledge units and their transformations).

Such a formalism enables the structural and property-based comparison of architectures, the definition of morphisms (structure-preserving translations) between them, and the principled analysis of architectural expressivity, modularity, and comparative capabilities.

Categorical Foundations: The ArchAgents\mathbf{ArchAgents} Category

The proposed framework defines a category ArchAgents\mathbf{ArchAgents}, whose objects are agent architectures, themselves characterized by a triple:

  1. Syntactic layer: A hypergraph category specifying interfaces, primitive computational modules, and their wiring.
  2. Knowledge layer: A hypergraph category capturing admissible knowledge types and their transformation workflows.
  3. Syntax–Knowledge interface: A profunctor encoding admissible interactions between syntactic components and internal knowledge carriers.

Architectural morphisms are formalized as pairs of symmetric monoidal functors between the respective syntactic and knowledge layers, together with compatibility data relating the interfaces via natural transformations. This abstraction permits the formal definition of architecture equivalence, reduction, and expressivity hierarchies. Figure 1

Figure 1

Figure 1: Framework map situating the categorical structures for comparing AGI architectures.

Concrete Agents as Functorial Realizations

A concrete agent is defined as an implementation-level interpretation of an architecture: a pair of strong symmetric monoidal functors from the syntactic and knowledge categories to a semantic system category (e.g., stochastic kernels, function spaces), satisfying compatibility conditions on knowledge-relevant generators. The framework then organizes all agents into a Grothendieck fibration over ArchAgents\mathbf{ArchAgents}, where each fibre corresponds to the class of agents implementing a given architecture. Reindexing functors permit the transport of agents across architecture morphisms, thus formalizing architectural inheritance, translation, and reduction.

Properties: Structural, Informational, and Semantic

Three orthogonal classes of properties are defined:

  • Structural properties: Diagrammatic invariants (existence of feedback loops, factorization, compositional equivalence) within the presentation of the hypergraph category. These are stable under morphisms of architectures.
  • Informational properties: Constraints on the epistemic layer—how information is encoded, modularized, and updated, and what forms of knowledge are representable or isolated by the architecture.
  • Semantic properties: Properties of concrete agents (e.g., convergence, expressivity, sample efficiency) certified via logical institutions, which facilitate proof-carrying agents and the modular transfer of guarantees across category morphisms and architectural refinement.

Comparative Categorical Analysis: Case Studies

A systematic sequence of case studies illustrates the explanatory and comparative power of the proposed categorical framework. Each case is presented as a formal object in the category ArchAgents\mathbf{ArchAgents}. The sequence demonstrates increasing representational and organizational capability.

Reinforcement Learning (RL)

Classical RL is instantiated as an architecture with a minimal syntactic workflow (state, action, experience, parameter types; policy, environment interaction, update) and monolithic knowledge (single parameter carrier Θ\Theta). The architecture admits a single feedback loop and no internal knowledge modularity; all learning updates operate globally. Figure 2

Figure 2

Figure 2: RL string diagram, highlighting the centralized feedback structure of parameter updates.

Causal RL (CRL)

CRL extends RL by structurally separating policy parameters from a causal environment model. The string diagram exposes dual feedback loops for policy and causal knowledge, supporting intervention and counterfactual reasoning via explicit 'do' operators. The knowledge architecture allows distinct update and intervention operations. Figure 3

Figure 3

Figure 3: CRL string diagram, visualizing twin feedback cycles for policy and causal model components.

Schema-Based Learning (SBL)

SBL radically generalizes prior architectures, introducing modular, compositional schemas as first-class knowledge units, cognitive modules with specialized execution routes, explicit memory, and body–mind mediated interfaces. The architecture supports the dynamic creation, deletion, selection, combination, and encapsulation of schemas; learning is localized to active schemas during cognitive workflows. Internal interfaces are factored, enabling variable granularity and mitigated dimensionality. Figure 4

Figure 4

Figure 4: SBL string diagram, with blue indicating Mind modules, green for Body–Mind interfaces.

The transition from CRL to SBL is formalized as a sequence of categorical relaxations: factorization of interfaces, introduction of multiple model types, cognitive modules, temporal decoupling via memory, and body–mind interface insertion. Each relaxation is modeled as a morphism in ArchAgents\mathbf{ArchAgents} (Figures 4–5).

Universal AI (AIXI)

The AIXI architecture is formalized as a hypergraph category in which the knowledge layer maintains a universal kernel, a set of plausible environments, and belief weights; knowledge update operators (e.g., posterior update, kernel mixing) are explicit. The AIXI realization clarifies the structural assumptions underlying Solomonoff induction-like agents. Figure 5

Figure 5

Figure 5: AIXI string diagram, encoding the cycle between history, universal prior, and policy selection.

Figure 6

Figure 6

Figure 6: Theoretical AIXI workflow of knowledge and implementation operators.

Architectural Comparison

A summary comparative table highlights the categorical distinctions among RL, CRL, and SBL architectures:

Architectural dimension RL CRL SBL
Persistent info structure Single Θ\Theta (Θπ\Theta_\pi, ΘCS\Theta_{CS}) Family of schemas Σ\Sigma
Feedback structure Single loop Two coupled loops Multiple, decoupled loops
Causal structure Not represented Explicit causal model Modular causal schemas
Knowledge modularity Not supported Weakly role-based Full modularity/compositionality
Continual learning Limited Partial Built-in (via schema dynamics)
Interface typing Monolithic Weakly typed Strongly typed and factored
Body–Mind mediation None None Explicit layer
Locality of updates Global Role-based Schema-local

Implications and Future Directions

The categorical formalization systematically organizes AGI architectures independent of low-level implementation, enabling the following:

  • Definition and inheritance of architectural properties and guarantees
  • Functorial comparison of expressivity and modularity across paradigms
  • Rigorous mapping of algorithmic and theoretical distinctions to explicit structural assumptions
  • Compositionality and modularity in the design and verification of agents
  • Interoperability with logical institutions for property certification and automated verification

Pragmatically, the framework provides a principled basis for constructing collaborative repositories of architectures, properties, and empirical evaluation platforms, as well as for benchmarking and guiding future AGI developments. Theoretically, it frames architectural questions—such as expressivity hierarchy, universality, and modularity—in formal categorical terms and opens the way for a comparative theory of general intelligence, potentially unifying cognitive science, control theory, learning, and causal inference.

Conclusion

This paper proposes a formal, category-theoretic comparative framework for AGI architectures. By treating architectures as algebraic theories of computational interconnection and knowledge management, the approach supports rigorous reasoning about structural differences, expressivity, and modular agent design. The categorical paradigm shifts the focus from algorithmic particulars to structural and property-based invariants, enabling both practical and theoretical advances in the study and construction of general intelligence across diverse formalisms.


References: See (2603.28906) for full citation.

Paper to Video (Beta)

No one has generated a video about this paper yet.

Whiteboard

No one has generated a whiteboard explanation for this paper yet.

Collections

Sign up for free to add this paper to one or more collections.

Tweets

Sign up for free to view the 1 tweet with 1 like about this paper.