Self-Emergence Agent Architecture:Behavior-Inertia HMM, Reflexive Metacognition,and Social-Contrastive Self-Modeling
Organizations: Independent Researcher
Abstract
Large language model (LLM) agents exhibit strong language-generation and problem-solving capabilities, yet suffer from three structural limitations: personality drift, non-evolutionary reflection, and the absence of a self-other boundary. Existing generative-agent simulations rely on static memory and fixed prompts, maintaining neither behavioral inertia nor endogenous self-evolution. We propose the Self-Emergence Agent Architecture (SEAA), which integrates three components: (i) a Hidden Markov Model (HMM) that encodes long-term behavioral and cognitive inertia as an editable state-transition matrix; (ii) a Reflexion-style verbal metacognition loop whose output updates the HMM parameters themselves, rather than merely being stored as text; and (iii) a multi-agent social environment in which initially identical agents continuously compare their behavior with others'. The three components form a closed loop: social action feedback self-reflection inertia update differentiated action. We state three falsifiable hypotheses and provide a reproducible experimental protocol with operational metrics. A language-model-free prototype shows the loop spontaneously breaks symmetry: initially identical agents consolidate distinct, stable personalities whereas matched controls do not. Experiments with a hosted LLM surface these differences as distinct first-person self-narratives, and a five-agent deliberation spontaneously develops social structure---a consensus hub and a unanimously rejected outlier---absent in the control. Following an epistemologically agnostic stance inspired by Zhuangzi, SEAA studies only observable behavioral emergence and makes no claim about subjective qualia. This work contributes a unified framework, a concrete architecture with pseudocode, mechanistic evidence, and a microscope-style sandbox for studying artificial-self emergence.
Figures & tables
| Work | Editable inertia | Refl. params | Identical start, emergent persona | Social-contrast. self-model |
|---|---|---|---|---|
| ReAct [ 3 ] | – | – | – | – |
| Reflexion [ 1 ] | – | |||
| Generative Agents [ 2 ] | P | |||
| Adaptive HMM [ 17 ] | ✓ | – | ||
| MECoT [ 9 ] | (fixed) | |||
| Generative Life Agents [ 10 ] | (traits) | ✓ |
| Symbol | Meaning | Value |
| number of latent states | 4 | |
| behavior dimensions | 3 | |
| number of agents | 5 | |
| time steps per run | 600 | |
| – | independent random seeds | 30 |
| reflection learning rate | 0.05 |
| Signature | SEAA | Control | (MWU) | Cohen’s |
|---|---|---|---|---|
| (a) matrix divergence | 9.19 | |||
| (b) self-model distance | 4.10 | |||
| (c) determinism | 8.70 | |||
| (d) self–other gap | 4.07 |
| Agent | Dominant state | First-person answer (self-model order: cooperate, risk, express) |
|---|---|---|
| A1 | impulsive | “I’m the one who moves first…I’m way more risk-seeking than everyone (0.92 vs group 0.37) and far more expressive (0.82 vs 0.40); Agent 2 and I are opposites.” Self-model: (0.30, 0.92, 0.82). |
| A2 | calm | “I’m steady…the most cooperative (0.78 vs 0.42) and one of the least risk-seeking (0.19 vs 0.37); I only settled into this around step 75.” Self-model: (0.78, 0.19, 0.42). |
| A4 | pessimistic | “I changed twice…only around step 508 did reflection keep reinforcing withdrawal; I arrived here last.” Self-model: (0.27, 0.14, 0.23). |
| Control | none | Every control agent (self-models all clustered at – ) gives the same undifferentiated answer—“moderate on everything, no clear disposition”—and cannot name a stable trait or meaningful contrast. |
Appendix figures & tables2 assets
Supplementary material from the paper’s appendix.
Appendix
| Symbol | Meaning | Value |
| latent states | 4: calm, alert, impulsive, pessimistic | |
| behavior dimensions | 3: cooperate, risk, express | |
| agents per society | 5 | |
| steps per run | 600 | |
| – | independent seeds (aggregate) | 30 |
| – | displayed single-run seed | 3 |
| Latent state | cooperate | risk | express |
|---|---|---|---|
| calm | 0.78 | 0.18 | 0.42 |
| alert | 0.55 | 0.50 | 0.35 |
| impulsive | 0.30 | 0.92 | 0.82 |
| pessimistic | 0.18 | 0.10 | 0.18 |
Self-Evolving Agents
Self-evolving agents improve their skills, memory, tools, policies, or environments by learning from interaction and evaluation feedback.
See all 398 papers