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

This position paper proposes a novel category-theoretic framework to formally define, compare, and analyze diverse Artificial General Intelligence architectures, aiming to unify their structural and behavioral properties while identifying commonalities, differences, and future research directions.

Pablo de los Riscos, Fernando J. Corbacho, Michael A. Arbib

Published 2026-04-01
📖 6 min read🧠 Deep dive

Imagine you are trying to build the ultimate "Universal Robot" (Artificial General Intelligence, or AGI). Right now, scientists are building many different versions of this robot. Some use Reinforcement Learning (like training a dog with treats), others use Causal Reasoning (understanding why things happen), and some use Schema-Based Learning (organizing knowledge like a library).

The problem is that these robots are built using different blueprints, different languages, and different math. It's like trying to compare a Ford assembly line, a Swiss Army knife, and a solar-powered drone by just looking at their engines. You can't easily tell which one is better, how they relate, or how to upgrade one into the other.

This paper proposes a new way to look at all these robots using a branch of mathematics called Category Theory. Think of Category Theory not as a calculator, but as a universal translator and a structural blueprint tool.

Here is the breakdown of their idea using simple analogies:

1. The Blueprint vs. The Building (Architecture vs. Agent)

The authors make a crucial distinction between the Blueprint (the Architecture) and the Building (the Agent).

  • The Architecture (The Blueprint): This is the design. It says, "We need a door here, a window there, and a pipe connecting the kitchen to the bathroom." It doesn't say what material the door is made of (wood or steel) or who installs it. It's just the rules of connection.
  • The Agent (The Building): This is the actual robot running the code. It's the house built from the blueprint, with specific bricks, paint, and furniture.

The Paper's Goal: Instead of comparing the specific houses (the agents), they want to compare the blueprints (the architectures). This allows them to see if two very different robots are actually built on the same fundamental design, or if one is just a slightly modified version of the other.

2. The Two Layers: The "Wiring" and the "Brain"

The authors split every robot's blueprint into two distinct layers:

  • Layer 1: The Wiring (Syntax): This is the flowchart. It answers: "Does the robot look at the camera, then think, then move its arm?" It's the order of operations.
  • Layer 2: The Brain Content (Knowledge): This is what the robot knows and how it changes that knowledge. Does it have one giant notebook where it writes everything down? Or does it have a library with separate books for "weather," "cars," and "people"?

The Analogy: Imagine a Doctor's Office.

  • The Wiring: Every patient goes through the same flow: Check-in -> Examine -> Diagnose -> Prescribe -> Pay. This is the "Syntax."
  • The Brain Content:
    • Doctor A has a single, giant notebook. Every time they see a new symptom, they just add a line to the bottom. (This is like Reinforcement Learning: simple, but messy).
    • Doctor B has a library. If they see a new disease, they create a new book for it. If they see a similar disease, they cross-reference existing books. (This is like Schema-Based Learning: organized and modular).

The paper argues that to build a truly smart AGI, we need to move from Doctor A's notebook to Doctor B's library, and we need a mathematical way to prove why the library is better.

3. The "Universal Translator" (Category Theory)

How do they compare these different blueprints? They use Category Theory.

Think of Category Theory as a Lego Master.

  • In the Lego world, a "Category" is just a set of Lego bricks and the rules for how they can snap together.
  • The authors treat every AI architecture as a specific set of Lego instructions.
  • Reinforcement Learning is a set of instructions for building a simple car.
  • Causal Learning is a set of instructions for building a car with a GPS.
  • Schema Learning is a set of instructions for building a modular robot that can swap its own wheels and engines.

Using this math, they can draw a "map" showing how to take the instructions for the simple car and transform them into the instructions for the modular robot. They can see exactly where the simple car is missing a piece (like a GPS) and how to add it without breaking the whole thing.

4. The Evolution of Intelligence (The Case Studies)

The paper walks through a "family tree" of AI architectures to show how they evolve:

  1. Reinforcement Learning (The Toddler): The robot learns by trial and error. It has one big brain (a single parameter) that updates every time it gets a reward. It's simple but gets confused easily because it can't separate "good ideas" from "bad ideas."
  2. Causal Reinforcement Learning (The Teenager): The robot now has two brains: one for "what to do" and one for "why things happen." It can ask, "If I push this button, what happens?" It's smarter because it understands cause and effect, but it's still a bit rigid.
  3. Schema-Based Learning (The Adult): The robot has a modular mind. It doesn't just have one brain; it has a library of "Schemas" (mini-programs).
    • It has a "Driving Schema."
    • It has a "Cooking Schema."
    • It has a "Social Schema."
    • It can pick the right one for the situation, combine them, or even write a new one if it encounters a new problem. This is the closest thing to human-like general intelligence.

5. Why This Matters

The authors claim that AGI (Artificial General Intelligence) isn't just about making a bigger computer or writing a better algorithm. It's about structural organization.

  • If you keep using the "One Big Notebook" architecture (Reinforcement Learning), you will hit a wall. The robot will forget old things when it learns new things (Catastrophic Forgetting).
  • To get to AGI, we need to switch to the "Library" architecture (Schema-Based Learning), where knowledge is organized, reusable, and modular.

The Big Promise

The paper concludes with a symbiotic relationship:

  • AGI needs Math: We need this "Category Theory" framework to stop guessing and start proving which robot designs will actually work.
  • Math needs AGI: Category Theory is a powerful but abstract tool. AGI provides a massive, real-world playground to test and refine these mathematical ideas, potentially making Category Theory the new "standard language" of science.

In short: The paper is a proposal to stop building AI robots by trial and error and start building them with architectural blueprints that we can mathematically compare, upgrade, and prove will lead to true general intelligence.