Skip to content

Latest commit

 

History

History
247 lines (124 loc) · 8.4 KB

File metadata and controls

247 lines (124 loc) · 8.4 KB

NABU Glossary

A comprehensive terminology reference for the NABU cognitive substrate.


Core Primitives

Lineage

The fundamental unit of memory in NABU. A lineage represents a single piece of knowledge with associated metadata including weight, decay rate, rigidity, confidence, and access history. Lineages are stored in pre-allocated arenas and accessed via lightweight facade cursors.

Bond

An associative connection between two lineages, formed through temporal co-activation (Hebbian learning). Bonds have strength, polarity (excitatory/neutral/inhibitory), and access timestamps. The bond network forms NABU's associative memory graph.

Arena

A pre-allocated contiguous memory buffer (TypedArray) for storing cognitive primitives. Arenas eliminate garbage collection overhead in the hot path. Examples: Lineage Arena, Bond Arena, Neuro Arena, Attention Arena, Salience Arena.

Tick

The discrete time unit of NABU's cognitive cycle. All decay, learning, and propagation calculations are based on tick deltas rather than wall-clock time.


Memory Dynamics

Weight

A normalized value $[0.0, 1.0]$ representing the strength or importance of a lineage. Weight decays over time unless reinforced through rehearsal or emotional significance.

Decay Rate ($\lambda$)

The speed at which memory weight erodes over time. Higher decay rates cause faster forgetting. Modulated by rigidity and personality genome.

Rigidity

A value $[0.0, 1.0]$ representing resistance to change. High rigidity (approaching 1.0) protects memories from decay and synaptic scaling. Trauma sets rigidity to 1.0 permanently.

Rehearsal

The act of accessing or activating a lineage, which reinforces its weight and delays decay. Similar to spaced repetition in human memory.


Attention Economy

Attention Budget

A finite resource $[0.0, 1.0]$ representing available cognitive capacity. Depleted by deliberate processing (Loop B, Synthesis) and regenerated over time. Modulated by serotonin levels.

Salience

A pre-attentive score $[0.0, 1.0]$ calculated from intensity, contrast, and novelty. Determines whether an input passes the Thalamic Gate. Inputs with salience below 0.3 are ignored at zero attention cost.

Thalamic Gate

A filtering mechanism inspired by the biological thalamus. Prevents cognitive flooding by rejecting low-salience inputs before they consume attention resources.

Contrast

The difference between an input and the current context (EMA). High contrast indicates a significant change worthy of attention.

Novelty

Inverse of familiarity, calculated as $1.0 - Weight$. Novel stimuli are more salient but also more threatening in fear mode.


Dual-Loop Processing

Loop A (Reflex)

Fast, parallel, autonomous processing for high-confidence inputs ($C \geq 0.7$). Zero attention cost. Analogous to System 1 thinking (Kahneman).

Loop B (Focus)

Slow, serial, deliberate processing for medium-confidence inputs ($0.3 \leq C < 0.7$). Consumes attention budget. Analogous to System 2 thinking.

Synthesis

High-cost processing for novel, low-confidence inputs ($C < 0.3$). Integrates unfamiliar information into existing knowledge. Blocked during fear mode.

Confidence

A routing metric $[0.0, 1.0]$ indicating certainty about how to process an input. Determines which loop handles the stimulus.


Neuroendocrine System

Hormone

A global physics modifier that affects cognitive parameters system-wide. NABU implements four synthetic hormones.

Dopamine

Reward/curiosity hormone. Increases learning rate, encouraging exploration and pattern acquisition.

Cortisol

Stress/threat hormone. Increases rigidity, inhibiting new learning and protecting existing memories during perceived danger.

Serotonin

Stability/confidence hormone. Accelerates attention recovery and promotes homeostatic balance.

Adrenaline

Urgency/energy hormone. Sharpens focus (increases processing cost) and reduces memory decay rate.

Homeostasis

The tendency of hormones to return to their personality baseline over time, rather than zero. Ensures emotional stability and prevents runaway hormonal states.


Survival Layer

Amygdala

The survival-priority component implementing fear conditioning. Provides rapid veto ("hijack") over attention routing when global caution is high.

Trauma

A one-shot conditioned response to intense pain ($> 0.7$). Unlike gradual Hebbian learning, trauma is learned immediately and sets rigidity to 1.0, permanently preserving the threatening memory.

Global Caution

A system-wide inhibitor $[0.0, 1.0]$ that accumulates from pain signals. When exceeding 0.5, triggers Fear Mode. Decays over time during safe ticks.

Fear Mode

A defensive state triggered by high global caution. Blocks the Synthesis route (preventing exploration) and inverts novelty's valence (treating the unknown as threatening).

Amygdala Hijack

The immediate veto of exploratory processing when fear mode is active. Prioritizes survival over learning.

Pain Signal

The intensity of negative outcomes, amplified by surprise (novelty). Formula: $Pain = |Outcome| \times (1 + Novelty \times 2)$


Signal Propagation

Cascade

The spreading activation of signals through the bond network from an origin lineage to connected targets.

Damping Law

The formula governing signal attenuation: $E_{target} = E_{source} \times W \times P \times (1 - R)$. Signals weaken as they traverse connections.

Blast Radius

The maximum hop count (default: 3) for signal propagation. Prevents infinite cascade loops.

Noise Floor

The minimum energy threshold (default: 0.1) below which signals are terminated. Prevents computational waste on imperceptible signals.

Polarity

The ternary nature of bonds: Excitatory (+1) amplifies, Neutral (0) conducts without change, Inhibitory (-1) suppresses.

Winner-Take-All (WTA)

Competitive selection among accumulated signals. The strongest positive signal suppresses weaker competitors by a suppression factor.


Homeostatic Plasticity

Synaptic Scaling

A global normalization mechanism that maintains mean weight around a target value. Prevents signal collapse as the memory population grows. Trauma-locked lineages are exempt.

Idle Detection

The identification of lineages that haven't been accessed for a threshold duration (default: 100 ticks). Combined with low weight, marks candidates for garbage collection.

Garbage Collection

The eviction of dormant, low-weight lineages to maintain memory efficiency. Emits events to prevent dangling reference issues.

Grace Period

A protection window (default: 10 ticks) during which newly created lineages are exempt from idle detection.

Entropy Proxy

Weight variance used as a measure of system "diffusion" vs "conglomeration". Homeostatic scaling naturally reduces this value.


Genome Layer

Genome (DNA)

A validated configuration object injected at kernel initialization. Defines the personality's cognitive boundaries (decay rate, learning rate, pain sensitivity, etc.).

Cognitive Archetype

Pre-tuned, immutable personality presets (e.g., SENTINEL, STOIC, MUSE) that configure the genome for specific behavioral profiles.

Anti-Psychopath Protocol

Boot-time validation that rejects genomes with pathological parameters (e.g., zero pain sensitivity, runaway learning rates).


Architecture

Triune Brain

The three-layer cognitive model: Reptilian (physics), Limbic (emotion), Neocortical (reasoning). Each layer operates at different speeds and abstractions.

DOD (Data-Oriented Design)

The memory layout philosophy prioritizing cache locality and avoiding garbage collection. Uses TypedArray arenas with facade accessors.

Facade

A lightweight cursor object holding only an index (pointer) into an arena. Provides OOP ergonomics without heap allocation overhead.

Hot Path

The per-tick cognitive cycle that must execute with zero heap allocations to maintain real-time performance.


Quality Metrics

R² (Coefficient of Determination)

Statistical measure of formula accuracy. NABU requires $R^2 > 0.99$ for all core physics formulas to match theoretical neuroscience models.

Tick Budget

The maximum time (16ms at 60 FPS) allowed for all cognitive processing per tick. Exceeding this causes "cognitive jitter."

Throughput

Measured in operations per second. The NABU kernel achieves ~5.5M ops/sec on standard hardware.