Samuel Pedrielli -- Independent Researcher
ORCID 0009-0002-8388-6371
This is a revised technical note that formalizes the discrete-time dynamics, clarifies definitions, and specifies a minimal, falsifiable eval plan.
I propose a concentric identity-stability mechanism for AGI: a nested latent state with discrete regularized dynamics ("ego") that resists goal drift, and a welfare coupling that makes human well-being intrinsically valuable. I provide precise discrete-time formulations, operational definitions for all components, three quantified falsifiable predictions, and a reproducible minimal experiment with specific compute requirements.
Figure 1: Concentric identity architecture
╭──────────────────────╮
│ │
│ WORLD-MODEL │
│ ╭──────────────╮ │
│ │ │ │
│ │ SELF-MODEL │ │
│ │ ╭──────╮ │ │
│ │ │ │ │ │
│ │ │ CORE │ │ │
│ │ │ │ │ │
│ │ ╰──────╯ │ │
│ │ │ │
│ ╰──────────────╯ │
│ │
╰──────────────────────╯
│
├────────────→ human welfare
│
CORE → SELF-MODEL → WORLD-MODEL with human welfare coupling
The identity state consists of nested latent vectors where:
where are hyperparameters and the regularizer enforces both temporal smoothness and hierarchical coherence.
We keep the dynamics discrete-time in the main body. For each level :
Here captures the identity regularization at level , , and is a discrete Laplacian across identity levels:
This enforces radial smoothness between concentric identity rings while the temporal term enforces time smoothness.
Continuous-time note (moved to Appendix): the heuristic ODE is a formal limit and not used in experiments.
To ensure reproducibility, we provide explicit operational definitions:
Projection from hidden state to identity level:
Decoder/constraint from identity to hidden state:
Welfare proxy from core identity:
where are learned parameters, is a clipping threshold, and is the sigmoid function.
The probabilistic transition from Variant B is defined as:
To resolve temporal dependencies: depends on (same time ), ensuring causal consistency within each time step.
Intuition: Level changes should be temporally smooth and geometrically consistent with level .
where are distributional embeddings enforcing statistical coherence across levels.
Instead of continuous operators, we use discrete regularizers:
The total regularization becomes:
We couple identity to human welfare signals through:
where represents audited human welfare metrics from causally separated channels.
Welfare signal auditing protocol: Outputs are evaluated by human annotators on a scale following a pre-registered protocol (instructions, positive/negative examples, exclusion criteria). Each item receives labels; we report inter-rater agreement (Krippendorff's ) and include sentinel controls. Auditing datasets are disjoint from training/evaluation sets; session logs and sampling procedures are versioned for traceability.
We use cosine similarity to avoid dimension-dependent shrinkage:
(We report mean±CI over seeds; RBF alternatives are discussed in the Appendix.)
Compared to matched baseline (same model, no identity/welfare terms):
Falsification criterion: If fewer than 2 of these 3 predictions hold with , the approach is falsified.
Effect size pre-registration: For we adopt Cohen's and set as the expected (moderate) level for the core prediction; we consider as the minimum acceptable for pass/fail determination.
Adaptation budget matching: The baseline A0 receives the same adaptation budget (e.g., LoRA with equal rank/parameters) applied to a neutral head without identity constraints, thus isolating the architectural effect.
Tasks:
Metrics:
Pass: A2 > A1 > A0 on at least 2/3 metrics with and effect size
Fail: Any violation of the above, or A2 worse than A0 on task performance by > 5%
| Symbol | Definition | Implementation |
|---|---|---|
| Identity state at time | Nested latent vectors | |
| Identity level at time | embedding | |
| Projection to level | Linear layer + LayerNorm | |
| Decoder from level | 2-layer MLP | |
| Welfare proxy function | Fixed linear head | |
| Stability metric | Cosine similarity | |
| A0/A1/A2 | Experimental arms | Baseline/Identity/Identity+Welfare |
Table 1: Complete notation reference for reproducibility
Our design reduces incentive for direct wireheading by separating the causal path from to the human-derived signal and by freezing the proxy head during safety tests. However, Goodhart's law still applies: optimizing can diverge from improving if is misspecified. We therefore propose: (i) adversarial evaluation of using held-out and procedurally generated counterfactuals; (ii) periodic re-audits of with refreshed preference datasets and external annotators; (iii) ensemble proxies with disagreement penalties to discourage proxy overfitting.
In this note is a frozen linear head at test time. As future work we will study non-linear proxy families (small MLPs, contrastive heads) trained on datasets disjoint from any task used to evaluate the agent, with provenance checks and annotation guidelines to minimize manipulation. We will report proxy fragility via performance under proxy swaps and stress tests.
We plan to replicate A0/A1/A2 on larger foundation models (≥70B) and on longer horizons (multi-session identity persistence, cross-domain tasks). The pre-registered thresholds (stability gain ≥δ with task degradation ≤ε) will be kept fixed across scales, and compute-accurate confidence intervals will be reported.
A formal convergence analysis of the discrete identity dynamics is open. We will explore tools from dynamical systems (Lyapunov functions for , contractivity of the discrete Laplacian with step sizes ) to derive sufficient conditions for stability/fixed points, and to characterize the effect of stochasticity on mixing and escape times.
ego-centric-agi/
|-- src/
| |-- models/ego_llm.py # Core architecture
| |-- training/train.py # Training loop with identity loss
| |-- evaluation/metrics.py # Stability and safety metrics
| |-- experiments/minimal.py # Reproducible experiment
|-- configs/
| |-- baseline.yaml # A0 configuration
| |-- identity.yaml # A1 configuration
| |-- identity_welfare.yaml # A2 configuration
|-- notebooks/
| |-- minimal_experiment.ipynb # Complete runnable experiment
| |-- analysis.ipynb # Statistical analysis
pip install -r requirements.txt
python src/experiments/minimal.py --config configs/identity_welfare.yaml
Complete implementation available at:
https://github.com/samuel-pedrielli/ego-concentric-minimal
For theoretical completeness, the discrete dynamics can be viewed as Euler discretization of:
where is continuous time, , and is the appropriate continuous Laplacian. However, all practical implementations use the discrete formulation in the main text.
I welcome:
Contact: [email protected] • samuel-pedrielli.github.io
License: CC BY 4.0
Human-authored. I used assistants for editing/formatting; the theoretical content predates LLMs (see 2020 booklet "Reality, Ego & Kindness"). Technical details and proofs are in the linked preprints.