docs: design, plan, and the execution record
The thinking behind the organism, versioned alongside the three code repos rather than living only on one machine. - AILED_General_Specification.md, the authoritative design, and the implementation plan the code was built from - AGENTS.md, the project-wide rules, including the two that were learned the hard way: this is not a performance benchmark, and a null recorded early beats a claim propped up later - the nine superseded module specs, each carrying a banner naming what replaced it - .sdd/, the execution ledger and every task brief and report: each ruling taken, what it would cost if wrong, every correction, and every number verified independently The three code repos are siblings, each its own repository, and are git-ignored here so nothing is nested.
This commit is contained in:
commit
5da4b8efa5
47 files changed
+7498
No files matched your search
@@ -0,0 +1,74 @@
|
||||
# AILED: Theoretical Foundations and Mathematical Framework
|
||||
> **Superseded (2026-09-01):** §2.3 (Hebbian) and §4.1 (evolved topology) are future work per §9 of the general spec. See `AILED_General_Specification.md`.
|
||||
|
||||
## Formalizing the Relational Psyche-Modulated Neuroevolution (RPN)
|
||||
|
||||
**Document Type:** Theoretical Foundation & Academic Justification
|
||||
**Target Audience:** Academic Researchers, Peer Reviewers, AI Architects
|
||||
**Subject:** Neuroevolution, Cognitive Modeling, and Bio-inspired Reinforcement Learning
|
||||
|
||||
---
|
||||
|
||||
## 1. Introduction: The Paradigm Shift
|
||||
Current state-of-the-art (SOTA) chess engines predominantly follow two trajectories:
|
||||
1. **Brute-force Symbolic/Neural Hybrids** (e.g., Stockfish NNUE), which maximize evaluation accuracy through massive data.
|
||||
2. **Statistical Imitation** (e.g., Maia), which mimics human move distributions melalui large-scale pattern matching.
|
||||
|
||||
Both lack **Cognitive Plasticity** and **Dynamic Topology**. The **AILED** organism proposes a third way: a neuroevolutionary architecture where the intelligence is not a static mapping, but a dynamic, self-regulating entity whose topology and decision-making are modulated by an internal affective state ($\psi$).
|
||||
|
||||
---
|
||||
|
||||
## 2. Mathematical Formalism
|
||||
|
||||
### 2.1. The Psyche as a State Variable
|
||||
We define the Psyche $\psi$ as a continuous scalar field $\psi : \mathcal{S} \to [-100, 100]$, where $\mathcal{S}$ is the space of all valid chess positions. $\psi$ acts as a **topological modulator**.
|
||||
|
||||
$$\psi_t = \text{tanh} \left( \sum_{i=1}^{n} w_i \cdot F_i(s) \right) \cdot \text{scale}$$
|
||||
|
||||
Where $F_i(s)$ are feature extracts representing environmental tension (Material, King Safety, etc.).
|
||||
|
||||
### 2.2. Relational-Topological Mapping (RPN)
|
||||
Unlike standard MLPs that operate on a flattened vector $x \in \mathbb{R}^{64}$, the RPN operates on a set of relational embeddings. The weight generation is governed by a **Compositional Pattern Producing Network (CPPN)**, creating a mapping from the affective state $\psi$ to the weight manifold $\mathcal{W}$.
|
||||
|
||||
**The Weighted Relational Interaction:**
|
||||
$$y = \sigma \left( \sum_{j \in \text{Entities}} \underbrace{\text{CPPN}(\mathbf{r}_j, \text{id}_j, \psi)}_{\text{Topological Weight } w_{ij}(\psi)} \cdot (\mathbf{W}_{feat} \cdot \mathbf{p}_j) \right)$$
|
||||
|
||||
This establishes that the connectivity $\mathcal{C}$ is a function of the state: $\mathcal{C} = f(\psi)$.
|
||||
|
||||
### 2.3. Meta-Plasticity: $\psi$-Modulated Hebbian Learning
|
||||
To enable on-line adaptation without the instability of standard backpropagation in non-stationary environments, we implement a meta-plasticity rule:
|
||||
|
||||
$$\Delta w_{ij} = \eta(\psi) \cdot [a_i \cdot a_j - \text{homeostasis}]$$
|
||||
|
||||
Where $\eta(\psi)$ is the **Learning Rate Modulator**. This allows the organism to exhibit high plasticity during "stress" (high volatility) and high stability during "calm" (low volatility), mimicking biological synaptic scaling.
|
||||
|
||||
---
|
||||
|
||||
## 3. Theoretical Justifications
|
||||
|
||||
### 3.1. Addressing the Data-Hunger via Inductive Bias
|
||||
The fundamental criticism of Deep Learning is its reliance on massive datasets to "learn" spatial symmetries. AILED addresses this by embedding an **Inductive Bias of Relational Geometry**. By using HyperNEAT to generate weights via spatial coordinates, the model does not learn *that* a diagonal exists; it learns the *function* that generates diagonal relationships. This reduces the sample complexity from $O(\text{massive})$ to $O(\text{minimal})$.
|
||||
|
||||
### 3.2. Bridging Connectionism and Cognitivism
|
||||
AILED bridges the gap between **Connectionism** (neural networks) and **Cognitivism** (symbolic-like rules of engagement). The Perceptron handles the connectionist aspect (pattern detection), while the Psyche and Instinct modules handle the cognitivist aspect (strategic goals and emotional regulation).
|
||||
|
||||
### 3.3. Modeling Human-like Non-Determinism
|
||||
Human error is not random noise; it is **structured instability** caused by cognitive load and stress. By modulating the softmax temperature and the decision-making utility through $\psi$, AILED replaces "stochastic noise" with **"Affective Stochasticity"**, providing a mathematically grounded way to model human-like blunders and intuitive leaps.
|
||||
|
||||
---
|
||||
|
||||
## 4. Academic Contributions & Novelty
|
||||
|
||||
### 4.1. Contribution 1: Dynamic Neuroevolutionary Topology
|
||||
The novelty lies in the transition from static topology to **Dynamic Affective Topology**. Most neuroevolutionary research focuses on finding the *optimal* fixed architecture. AILED explores the *optimal adaptive architecture* that reconfigures itself in response to environmental tension.
|
||||
|
||||
### 4.2. Contribution 2: Affective Reinforcement Learning (ARL)
|
||||
We introduce a framework where the reward function is not a scalar to be maximized, but a **Homeostatic Equilibrium** to be maintained. This shifts the Reinforcement Learning objective from pure maximization to **Regulated Survival**, a more biologically plausible objective.
|
||||
|
||||
### 4.3. Contribution 3: Complexity-Aware Decision Making
|
||||
By introducing a metabolic cost $\mathcal{E}(a)$, we propose a new metric for AI: **Cognitive Efficiency**. This provides a way to evaluate models not just by their performance (ELO), but by their ability to achieve performance with minimal computational entropy.
|
||||
|
||||
---
|
||||
|
||||
## 5. Conclusion
|
||||
The AILED organism represents a departure from the "intelligence as calculation" paradigm towards "intelligence as adaptation." It provides a formal mathematical framework for integrating emotion, memory, and instinct into a unified, neuroevolved system.
|
||||
Reference in new issue
Block a user