# Generalized Notation Notation for Active Inference Models

> This paper introduces Generalized Notation Notation (GNN), a novel approach to generative model representation that facilitates communication, understanding, and application of Active Inference across various domains. GNN complements the Active Infer...

- Skill: `docxology/generalized-notation-notation-for-active-inference-models` (Agent Skill, multi-file: 13 files)
- Install (CLI): `npx get-skill add docxology/generalized-notation-notation-for-active-inference-models`
- Raw SKILL.md: https://api.skillmd.com/api/skills/docxology/generalized-notation-notation-for-active-inference-models/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: docxology (https://skillmd.com/u/docxology)
- Updated: 2026-11-19
- Page: https://skillmd.com/skills/docxology/generalized-notation-notation-for-active-inference-models

---


# Generalized Notation Notation for Active Inference Models

**Jakub Smékal, Daniel Ari Friedman** (2023) · Active Inference

## Context

This work addresses topics in **Active Inference**: GNN, Generalized Notation Notation, meta-notation, symbolic systems.

## Methods

Primary methods and techniques applied in this work:

- **GNN specification: ASCII model description in Markdown-structured source files** — Defines Generalized Notation Notation, which writes Active Inference generative models with ASCII letters and punctuation in a Markdown-style source file.
- **Worked example re-expressing the Smith, Friston & Whyte 2022 step-by-step tutorial** — Demonstrates GNN by following the same progressive model-building sequence as the 2022 step-by-step Active Inference tutorial.
- **'Triple Play' framing: text, graphical, and executable model renderings** — Proposes expressing a GNN model across three modalities: text-based models, statistical graphical models, and executable cognitive models.

## Key Findings

Core contributions and results:

- Introduces GNN as a standardized method for describing cognitive models that complements the Active Inference Ontology for education and modeling.
- Argues GNN's plain-text basis allows rendering into mathematical notation, figures, natural language, pseudocode and executable simulations, and use with regular expressions and LLMs.
- As pseudocode, GNN does not restrict which programming language or package implements a model, which the authors argue aids backward and forward compatibility.
- Names future directions: better automatic rendering software, tighter Active Inference Ontology integration, and cadCAD for execution order and parameter sweeps.

Methods and findings are summarized from the full text; each item is backed by a verbatim quote recorded in `metadata.json` (`evidence`, `key_findings_evidence`).

## Related Works

- [2018_WoodliceAndMen](../2018_WoodliceAndMen/)
- [2020_BehaviorEngineering](../2020_BehaviorEngineering/)
- [2021_ModelingConflict](../2021_ModelingConflict/)

## Validation

Verification points for this work:

- Canonical DOI: 10.5281/zenodo.7803327
- PDF SHA-256: See zenodo_record
- Pairing confidence: unknown
- Last checked: 2026-06-30T23:25:14Z

## Prerequisites

- Familiarity with GNN, Generalized Notation Notation, meta-notation
- Background in Active Inference fundamentals
- Access to source repository: N/A

## Instructions

When working with this paper:

1. Reference the DOI for citation: `10.5281/zenodo.7803327`
2. Apply methods listed in the Methods section for related analysis.
3. Validate findings against the original PDF and metadata.

