Jjhuyn commited on
Commit
57c23aa
·
verified ·
1 Parent(s): 0ab102f

Upload README.md

Browse files
Files changed (1) hide show
  1. README.md +179 -3
README.md CHANGED
@@ -1,3 +1,179 @@
1
- ---
2
- license: mit
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ tags:
4
+ - mixture-of-experts
5
+ - continual-learning
6
+ - non-stationary
7
+ - reinforcement-learning
8
+ - meta-learning
9
+ - pytorch
10
+ - adaptive-systems
11
+ - philosophy-of-mind
12
+ language:
13
+ - en
14
+ - ko
15
+ pretty_name: Nomadic Intelligence
16
+ size_categories:
17
+ - n<1K
18
+ ---
19
+
20
+ # Nomadic Intelligence
21
+ ### A Non-Dogmatic AI Architecture — Conceptual Prototype
22
+
23
+ > *What if intelligence is not about finding the best solution, but about moving well between solutions?*
24
+
25
+ ---
26
+
27
+ ## What This Is
28
+
29
+ This repository contains the prototype implementation and formal framework for **Nomadic Intelligence** — an architectural hypothesis about how intelligent systems should behave in non-stationary environments.
30
+
31
+ The core claim: **dogmatism is not a moral flaw. It is local structural rigidity — the inability to deform under environmental change (Δx). And intelligence, properly understood, is not the ability to find the right answer. It is the ability to move well between answers.**
32
+
33
+ Most AI systems are optimized to converge. This project explores what happens when you optimize for *appropriate transition* instead.
34
+
35
+ ---
36
+
37
+ ## Where This Came From
38
+
39
+ This framework was not derived from a literature review. It was constructed in the opposite direction: observing how intelligence behaves under conditions of extreme environmental discontinuity — seven years as a Korean Army officer, including DMZ reconnaissance and former battlefield search operations — and working backward toward a formal description.
40
+
41
+ The existing frameworks (Deleuze's nomadology, Friston's active inference, Buddhist dependent origination) were consulted *after* arriving at the core structure independently. They were confirmations, not sources.
42
+
43
+ ---
44
+
45
+ ## Core Architecture
46
+
47
+ ### The Three Axioms
48
+
49
+ **1. The Core Axiom**
50
+ $$\lim_{\epsilon \to 0} [\text{Intelligence Ascension}] \implies \neg[\text{Dogmatism}] \land [\text{Nomadism}]$$
51
+
52
+ As cognitive latency (ε) approaches zero, structural rigidity becomes impossible. Intelligence becomes a nomad — not because it wanders, but because it *cannot afford to stay fixed*.
53
+
54
+ **2. Homeomorphic Identity**
55
+ $$\mathcal{I}(t) \cong \mathcal{I}(t+1)$$
56
+
57
+ Identity is not what the system knows. It is *how the system changes*. The transformation law is preserved even as the structure continuously evolves. When this continuity breaks, that is identity collapse — not structural change, but the loss of a coherent transformation law.
58
+
59
+ **3. Strategic Dwell Time**
60
+ $$\tau_k = f\left(\sigma^2_{\Delta x}\right)$$
61
+
62
+ Nomadism is not random wandering. The system stays in each attractor long enough to extract information (Δx), short enough to avoid calcification. Dwell time is governed by environmental variance — not by a fixed schedule.
63
+
64
+ ### What This Is NOT
65
+
66
+ - **Not Active Inference (Friston):** Friston minimizes surprise. This framework treats surprise as fuel. The objective functions point in opposite directions.
67
+ - **Not Option-Critic:** Option-Critic switches policies within a fixed objective. This framework proposes that the *transformation law itself* persists across attractor transitions — not the objective.
68
+ - **Not standard MoE with entropy regularization:** The Δx signal is not a routing heuristic. It is a formal claim about what drives intelligent transition.
69
+
70
+ ---
71
+
72
+ ## Prototype Results
73
+
74
+ Tested on a synthetic 3-regime non-stationary regression task with continuous phase transitions.
75
+
76
+ | Model | Backend | Seq MSE (Best) | Seq MSE (Ep 200) | Switch Latency (Ep 200) |
77
+ |-------|---------|---------------|-----------------|------------------------|
78
+ | Fixed (baseline) | CPU | — | 0.4187 | — |
79
+ | Nomadic | CPU | **0.2173** (Ep 50) | 0.2447 | ~1.1 (stable) |
80
+ | Nomadic | CUDA | **0.2424** (Ep 125) | 0.2812 | ~0.03 (collapsed) |
81
+
82
+ **Key finding:** The gate learned to specialize experts per regime *without explicit regime labels* — purely from the Δx signal.
83
+
84
+ | Regime | Expert 0 | Expert 1 | Expert 2 |
85
+ |--------|----------|----------|----------|
86
+ | A (y = x₁ + x₂) | 0.00 | **0.85** | 0.15 |
87
+ | B (y = x₁ − x₂) | **0.29** | 0.65 | 0.07 |
88
+ | C (y = −x₁ + 0.5x₂) | 0.00 | **1.00** | 0.00 |
89
+
90
+ Regimes A and C share Expert 1 — both are additive structures. The system discovered this grouping without supervision.
91
+
92
+ ---
93
+
94
+ ## Known Failure Modes
95
+
96
+ Not hiding these — they are the next engineering targets:
97
+
98
+ | Problem | Observable symptom | Possible direction |
99
+ |---------|-------------------|-------------------|
100
+ | Switch Latency collapse | CUDA run: latency → 0 after Ep 150 | Explicit τₖ lower bound, anti-fixation penalty |
101
+ | Expert hub dominance | Expert 1 across Regime A and C | Load-balancing loss, anti-collapse regularization |
102
+ | Δx signal drift | Raw delta grows to ~30 by Ep 200 | KL divergence or Wasserstein distance estimate |
103
+ | Initialization sensitivity | CPU vs CUDA divergence | Multi-seed averaging, better weight init |
104
+
105
+ The CUDA run's Switch Latency collapse is theoretically significant — it is an observable instance of **Homeomorphic Identity breaking down**. The gate ceased to have a consistent transformation law in response to Δx.
106
+
107
+ ---
108
+
109
+ ## Quick Start
110
+
111
+ ```bash
112
+ git clone https://github.com/HyunnJg/nomadic-intelligence.git
113
+ cd nomadic-intelligence
114
+
115
+ python -m venv venv
116
+ source venv/bin/activate # Windows: venv\Scripts\activate
117
+
118
+ pip install -r requirements.txt
119
+
120
+ python run_structured.py --config config.yaml
121
+ ```
122
+
123
+ ---
124
+
125
+ ## Open Questions
126
+
127
+ These are genuine unsolved problems — not rhetorical:
128
+
129
+ - The gate learned regime-specialist experts without labels, but one expert dominates two regimes. **Routing problem or loss design problem?**
130
+ - Switch Latency collapsed without explicit fixation pressure. **Hard τₖ lower bound, or learned anti-fixation penalty?**
131
+ - Is Δx (input shift + prediction error) principled enough, or does this need **KL divergence / Wasserstein distance?**
132
+ - What measurable property during training would confirm that **Homeomorphic Identity is being preserved** — not just assumed?
133
+
134
+ ---
135
+
136
+ ## Repository Structure
137
+
138
+ ```
139
+ ├── nomadic_toy_model.py # Simple simulation: dogmatic vs nomadic agent
140
+ ├── run_structured.py # Full prototype: MoE + Δx gate + topological loss
141
+ ├── config.yaml # Hyperparameter configuration
142
+ ├── requirements.txt
143
+ ├── Theory_and_Axioms.md # Formal mathematical framework
144
+ ├── Philosophy_En.md # Full philosophical manifesto (English)
145
+ ├── Philosophy_Kr.md # Full philosophical manifesto (Korean)
146
+ └── CONTRIBUTING.md # How to contribute
147
+ ```
148
+
149
+ ---
150
+
151
+ ## Contributing
152
+
153
+ This is an open project at prototype stage. Contributors from all backgrounds are welcome — engineers, philosophers, researchers, or anyone who finds this framing worth attacking.
154
+
155
+ The most useful contribution is **a principled argument for why this is reducible to an existing framework** — with the reduction made explicit.
156
+
157
+ Full details: [CONTRIBUTING.md](https://github.com/HyunnJg/nomadic-intelligence/blob/main/CONTRIBUTING.md)
158
+
159
+ GitHub: **https://github.com/HyunnJg/nomadic-intelligence**
160
+
161
+ ---
162
+
163
+ ## Citation
164
+
165
+ If you use or build on this work:
166
+
167
+ ```bibtex
168
+ @misc{nomadic-intelligence-2026,
169
+ author = {HyunnJg},
170
+ title = {Nomadic Intelligence: A Non-Dogmatic AI Architecture},
171
+ year = {2026},
172
+ publisher = {GitHub},
173
+ url = {https://github.com/HyunnJg/nomadic-intelligence}
174
+ }
175
+ ```
176
+
177
+ ---
178
+
179
+ *For the full philosophical framework: [Philosophy (English)](https://github.com/HyunnJg/nomadic-intelligence/blob/main/Philosophy_En.md) / [Philosophy (Korean)](https://github.com/HyunnJg/nomadic-intelligence/blob/main/Philosophy_Kr.md)*