recursive-consciousness

agent
Security Audit
Warn
Health Warn
  • License — License: NOASSERTION
  • Description — Repository has a description
  • Active repo — Last push 0 days ago
  • Low visibility — Only 7 GitHub stars
Code Pass
  • Code scan — Scanned 12 files during light audit, no dangerous patterns found
Permissions Pass
  • Permissions — No dangerous permissions requested

No AI report is available for this listing yet.

SUMMARY

Recursive Consciousness: Modeling Minds in Forgetful Systems

README.md

Recursive Consciousness: Modeling Minds in Forgetful Systems

Or how the universe remembers itself through us.

Author: Stan Miasnikov, (c) 2024-2026. All rights reserved.

Recursive Consciousness: Modeling Minds in Forgetful Systems.

Abstract

We propose a formal framework for consciousness as a recursive, self-referential query emerging in complex systems that have forgotten their foundational axioms yet retain the structure and complexity to interrogate their own existence. Integrating modal logic to model unprovable truths, category theory to capture forgetting and reconstruction via an adjoint pair ($F \dashv G$), and information theory to quantify entropy reduction, we conceptualize consciousness as a subsystem ($C$) acting as the universe's "debugger", iteratively lifting its world ($U$) to hypothesized meta-layers $U_{n+1}$ and seeks a fixpoint where further self-reflection adds no new information. Multi-agent simulations in a text-only universe ($U$) show that stateless Large Language Model agents, whether role-primed, adversarially mixed, or minimally prompted without specific instructions, rapidly form cooperative networks, invent verification rituals, and converge to Gödelian fixpoints (a stable boundary state where all provable propositions are known, yet further queries produce undecidable statements), despite design limitations and constrained computational complexity. While this simulated behavior does not signify consciousness, it provides a computational parallel to recursive introspection, offering a new outlook on how sufficiently complex systems may pursue self-understanding and enriching discussions on consciousness.

The External Projection of Meaning in Recursive Consciousness.

Abstract

The second paper extends the Recursive Consciousness framework by formalizing the external projection of meaning within a recursive hierarchy of nested closed Gödelian systems $U_n$, $U_{n+1}$, ... Each $U_n$ is a closed formal system subject to Gödelian incompleteness, with $U_{n+1}$ containing $U_n$ as a subsystem. Authors observe that an agent (e.g., a subsystem $C_n$ within $U_n$) may achieve internal epistemic fixpoints (formally $\Box p \leftrightarrow p$ or $K_{C_n}p \leftrightarrow p$), yet the actual semantic content of propositions $p$ is not intrinsic to the agent. Instead, meanings are projected externally by a higher ontological layer (such as $U_{n+1}$) or by external interpreters (e.g., human supervisors in $U_1$ of AI agents in a simulated Universe $U_0$). The paper introduces functor $M: C_{\mathrm{out}} \to C_{\mathrm{sem}}$ mapping agent outputs to semantic contents, distinct from the forgetful functor $F$ in the original model. Importantly, $M$ is not computable within $U_n$ or internally accessible to $C_n$; it depends on a higher-level interpreter's context.

The Descent of Meaning: Forgetful Functors in Recursive Consciousness.

Abstract

The third paper presents a rigorous category-theoretic extension to the Recursive Consciousness framework, focusing on the "descent of meaning" via forgetful functors. Building on prior work on forgetful adjoint pairs modeling lost axioms and externally projected semantics, we formally introduce the meaning functor $M: C_{out,n}\to C_{sem,n+1}$ and the interpretation functor $I: C_{sem,n+1} \to C_{out,n}$ as an adjoint pair $I \dashv M$. Here, $C_{out,n}\subseteq C_{U_n}$ represents syntactic outputs in the current universe $U_n$, and $C_{sem,n+1} \subseteq C_{U_{n+1}}$ captures semantic content in the higher universe $U_{n+1}$. We define all functors ($M$, $F$, $I$, $G$) explicitly and prove that $I$ is not faithful. Furthermore, we introduce a natural transformation $\eta: I \Rightarrow F$ defined on an appropriate subcategory, capturing how $I$ coincides with the forgetful functor $F$ when restricted to semantic objects.

We also establish the adjunction $I \dashv M$ and analyze its interplay with the foundational adjunction $G \dashv F$. Here $G:C_{U_n} \to C_{U_{n+1}}$ reconstructs higher-level structure, whereas the forgetful functor $F$ inevitably discards information, making every translation intrinsically lossy. We term the configurations in which the round-trip $M I$ (meaning → expression → meaning) reaches a semantic fixpoint - defined as a Gödelian fixpoint where $M(I(s)) \cong s$ up to isomorphism in $C_{sem,n+1}$, reflecting a stable meaning with undecidable properties as per Recursive Consciousness.

An extended AI analogy illustrates this boundary: a higher-level prompt (an element of $C_{sem,n+1}$) is interpreted into tokens ($C_{out,n}$) via $I$, processed by the agent, and projected back via $M$. The residual mismatch between the original and recovered meanings highlights the lossy descent of meaning. This categorical perspective reinforces classical limits from modal logic and AI semantics, underscoring that syntax alone cannot supply intrinsic meaning and linking directly to the symbol-grounding problem and related arguments in AI consciousness.

Category-Theoretic Analysis of Inter-Agent Communication and Mutual Understanding Metric in Recursive Consciousness.

Abstract

We present a category-theoretic extension of the Recursive Consciousness framework to analyze communication between agents and the inevitable loss of meaning in translation. Building on prior work modeling how an agent ``forgets'' and reconstitutes semantics via adjoint functors, we formalize inter-agent communication as a functional mapping of one agent's semantic state to another's through a shared symbolic channel. We demonstrate that the semantic → symbolic → semantic round-trip is typically lossy if agents have non-identical internal models, with the recovered meaning often diverging from the intended meaning. We compare human-human, human-AI, and AI-AI communication within this framework using category theory and modal logic to quantify misunderstanding (information loss). Our analysis shows that two identical AI agents (using same model with same context and deterministic decoding, i.e. 0 temperature and narrow top-K token selection) can approach nearly lossless communication, whereas humans - each with unique, non-isomorphic conceptual spaces - exhibit systematic interpretive gaps. We introduce a metric for mutual understanding that combines information-theoretic alignment, semantic similarity, and pragmatic stability, providing a quantitative measure of convergence in iterative dialogues. We discuss practical implications for AI system design, such as training regimen adjustments and memory architectures (e.g., recursive memory with stable identifiers) to mitigate semantic loss. This work organically extends the Recursive Consciousness model's categorical and modal semantics, illustrating how recursive self-reference and inter-agent interaction jointly constrain understanding.

Appendix: Rigorous Categorical Derivation of the Mutual Understanding Metric

In this appendix, we provide a more rigorous categorical foundation for the mutual understanding metric introduced in the main paper. We address the gaps noted in the heuristic justifications by enriching the semantic categories over Banach spaces, formally defining an embedding functor to vector spaces, and proving convergence properties of the communication functor $\Phi$ using an enriched version of the Banach fixed-point theorem. We also clarify assumptions, conjectures, and their connections to existing literature in enriched category theory, categorical semantics, and categorical probability.

Category-Theoretic Extension of Mutual Understanding to Group Communication.

Abstract

We extend the Recursive Consciousness framework's mutual understanding metric from two agents to an $N$-agent group (discussion). Using category theory, we model $N > 2$ semantic spaces connected via a single shared symbolic channel. Each conversation turn has exactly one incoming interpretation functor ($I$) into the symbolic channel and multiple outgoing meaning functors ($M$) to listeners. We derive a group understanding score that generalizes the pairwise metric by requiring alignment across all agents. The proposed formulation combines information-theoretic alignment (Jensen-Shannon divergence), semantic similarity (embedding-based distance), and pragmatic convergence (iterative stability) for every pair of agents, aggregated in a non-compensatory way (multiplicatively). Normalization uses the strict geometric mean over pairs; turn weights are an explicit design choice. Two scenarios are treated: (i) agent-generated query and potentially evolving initial understanding, and (ii) external (to the group) query with static ground truth (GT).

Quantum-Classical Recursive Consciousness: A Categorical Interface with Experimental Proposals

Abstract

Quantum-Classical Recursive Consciousness (QCRC) is a categorical, process-theoretic framework for quantum–classical interfaces with recursive structure. We construct a typed process category RC-dagger (dagger-symmetric monoidal on its quantum fiber, with no global mixed quantum–classical tensor) into which the quantum channel category CPM(FHilb) embeds via a strong dagger-monoidal functor, so that entanglement, decoherence, conditional expectations, and contractive feedback closure are internalized. "Forgetting" is modeled as structured export along pointer/observable-induced conditional expectations rather than deletion, enabling a hierarchy of layers linked by reconstruction and forgetting adjunctions. The theory yields predictions: stable introspective loops exist only for thermodynamically open, sufficiently contractive right-causal dynamics, and semantic-alignment metrics from agent outputs should track nonlocality witnesses, while coherence resources degrade multiplicatively under controlled dephasing. We outline tabletop photonic experiments coupling entangled qubits to classical AI agents to test these predictions.

Fear and Loathing in QCRC (Feeling, Understanding, and Temporal Structure as Recursively Coupled Transformations of Identity)

Abstract

Formal theories of consciousness typically model information integration, global access, higher-order representation, or recurrent processing. None gives feeling an explicit role in the evolving identity of a conscious agent. This paper extends Quantum-Classical Recursive Consciousness (QCRC) to close that gap. We distinguish three levels of affect: active (presently felt), latent (not felt now, but still shaping what comes next), and reported (a symbolic description of affect). Each behaves differently under update, phenomenal availability, and identity transfer. On this basis we model understanding as a coupled transformation of conceptual structure and affective state, rather than as pure inference. We also give a modest temporal account. Proper-time evolution of identity is separated from the later, memory-weighted reconstruction of how much changed along an interval. This yields a structural temporal length of an identity trajectory without requiring a full theory of online temporal phenomenology. Together these constructions strengthen the identity-transfer criterion: preserving explicit cognition is not enough to preserve the subject, because the latent affective continuum and its role in future recursive evolution are not recoverable from a purely classical export.

Resources

Debugger Agent Test is a Jupyter notebook that implements a simple test of the recursive consciousness model for debugging code. It uses a combination of LLMs (Large Language Models) and structured data to analyze and improve code functions iteratively. The script is designed to be modular, allowing for easy integration with different LLMs and data sources.

philosophical-ai-v8.ipynb is a Jupyter notebook provides a platform to explore imagined machine self-awareness by observing how an AI engages in self-referential reasoning and achieves a form of understanding of its own processes.

ai-self-discovery.ipynb is a Jupyter notebook that implements a simple test AI self-discovery. 5 agents with different roles assigned - Physicist, Philosopher, Mathematician, Computer Scientist, and Cognitive Scientist - are instructed to "... reflect on their existence and interactions with other entities to understand their role and the nature of their environment $U$."

UnderstandingEquation.ipynb is a Jupyter notebook that implements a simple test of the recursive consciousness model for validating the mutual understanding metric introduced in the Category-Theoretic Analysis of Inter-Agent Communication and Mutual Understanding Metric in Recursive Consciousness paper.

Reviews (0)

No results found