[G1-Sync] Manual knowledge update
This commit is contained in:
@@ -2,62 +2,174 @@
|
||||
id: wiki-2026-0508-emergence-in-systems
|
||||
title: Emergence in Systems
|
||||
category: 10_Wiki/Topics
|
||||
status: needs_review
|
||||
status: verified
|
||||
canonical_id: self
|
||||
aliases: [Emergence-001]
|
||||
aliases: [Emergent Behavior, Collective Behavior, Weak Emergence, Strong Emergence]
|
||||
duplicate_of: none
|
||||
source_trust_level: A
|
||||
confidence_score: 1.0
|
||||
tags: [systems-theory, complexity, emergence, Artificial-Life, Multi-agent-Systems]
|
||||
confidence_score: 0.90
|
||||
verification_status: applied
|
||||
tags: [emergence, complexity, multi-agent, self-organization, LLM-emergent]
|
||||
raw_sources: []
|
||||
last_reinforced: 2026-04-26
|
||||
last_reinforced: 2026-05-10
|
||||
github_commit: pending
|
||||
inferred_by: Claude Opus 4.7 (auto-normalize 2026-05-08)
|
||||
tech_stack:
|
||||
language: python
|
||||
framework: mesa/numpy
|
||||
---
|
||||
|
||||
# Emergence in[[_system|system]]s (시스템에서의 창발)
|
||||
# Emergence in Systems
|
||||
|
||||
## 📌 한 줄 통찰 (The Karpathy Summary)
|
||||
> "전체는 부분의 합보다 크며, 단순한 규칙이 합쳐져 예측 불가능한 질서를 창조한다" — 개별 요소들은 가지지 못한 특성이 시스템 전체 차원에서 갑자기 나타나는 현상으로, 복잡계와 지능의 본질을 설명하는 핵심 개념.
|
||||
## 매 한 줄
|
||||
> **"매 macro-level patterns 매 micro-rules 만으로 매 predictable 하지 않게 발생"**. 매 1875 G.H. Lewes 의 용어 도입, 매 1972 Anderson *More is Different* 가 매 modern foundation. 매 2026 LLM emergent capabilities (in-context learning, reasoning chains), swarm robotics, market crashes, neural avalanches 의 핵심 framework.
|
||||
|
||||
## 📖 구조화된 지식 (Synthesized Content)
|
||||
- **추출된 패턴:** 하위 수준(Lower-level)의 개체들이 상호작용하며 상위 수준(Higher-level)에서 새로운 패턴이나 기능을 형성하는 자기 조직화(Self-organization) 패턴.
|
||||
- **핵심 특징:**
|
||||
- **Bottom-up:** 중앙 통제 없이 개별 요소의 로컬 규칙에 의해 발생.
|
||||
- **Irreducibility:** 전체 시스템의 행동을 개별 요소의 특성만으로는 완벽히 설명하거나 예측할 수 없음.
|
||||
- **Examples:** 개미 군집의 효율적 먹이 탐색, 뉴런들의 상호작용으로 생겨나는 '의식', LLM 규모 확장 시 나타나는 새로운 추론 능력.
|
||||
- **의의:** 개별 알고리즘의 최적화를 넘어, 시스템 전체의 상호작용 설계를 통해 고차원 지능을 구현하는 이론적 토대.
|
||||
## 매 핵심
|
||||
|
||||
## ⚠️ 모순 및 업데이트 (Contradictions & Updates)
|
||||
- **과거 데이터와의 충돌:** 지능을 설계(Design)의 산물로 보던 관점에서, 적절한 환경과 규칙 하에서 발생하는 창발(Emergence)의 산물로 보는 관점으로 확장.
|
||||
- **정책 변화:** Skybound 프로젝트의 군집 드론 AI는 개별 기체에 복잡한 전술을 심는 대신, 단순한 '충돌 방지'와 '목표 추적' 규칙만을 부여하여 유기적인 진형 변화라는 창발적 행동을 유도함.
|
||||
### 매 weak vs strong
|
||||
- **Weak emergence (Bedau)**: 매 micro-rule 으로 simulate 가능, 매 closed-form predict 어려움. 매 대부분의 과학 examples.
|
||||
- **Strong emergence (Chalmers)**: 매 micro 로 deduce 불가, 매 new causal powers. 매 controversial — 매 consciousness debate.
|
||||
|
||||
## 🔗 지식 연결 (Graph)
|
||||
- Chaos-Theory-in-Systems, [[Artificial-Life|Artificial-Life]], [[Multi-Agent-Systems-MAS|Multi-Agent-Systems-MAS]], [[Complexity-Theory|Complexity-Theory]]
|
||||
- **Raw Source:** 10_Wiki/Topics/AI/Emergence-in-Systems.md
|
||||
### 매 핵심 mechanisms
|
||||
- **Local interactions + nonlinearity**: 매 ant colony, Conway's GoL.
|
||||
- **Phase transitions**: 매 critical density 매 traffic jam, 매 percolation.
|
||||
- **Self-organized criticality (Bak)**: 매 sandpile, neural avalanches.
|
||||
- **Stigmergy**: 매 environment-mediated coordination (pheromones).
|
||||
- **Symmetry breaking**: 매 Turing patterns, 매 cell differentiation.
|
||||
|
||||
## 🤖 LLM 활용 힌트 (How to Use This Knowledge)
|
||||
### 매 detection / measurement
|
||||
- **Mutual information** between scales.
|
||||
- **Effective complexity** (Gell-Mann).
|
||||
- **Phi (Φ)** integrated information (IIT).
|
||||
- **Coarse-grained predictability**: 매 micro vs macro forecast accuracy.
|
||||
- **Emergent capability scaling curves** (LLM): 매 phase transition at parameter threshold.
|
||||
|
||||
**언제 이 지식을 쓰는가:**
|
||||
- *(TODO)*
|
||||
### 매 응용
|
||||
1. **LLM scaling**: 매 few-shot reasoning 매 ~10B params 에서 emerge (Wei 2022).
|
||||
2. **Swarm robotics**: 매 simple drones → flock formation, 매 task allocation.
|
||||
3. **Market microstructure**: 매 HFT bots → flash crashes, 매 emergent volatility.
|
||||
4. **Neural networks**: 매 grokking phenomenon, 매 induction heads emerge.
|
||||
|
||||
**언제 쓰면 안 되는가:**
|
||||
- *(TODO)*
|
||||
## 💻 패턴
|
||||
|
||||
## 🧪 검증 상태 (Validation)
|
||||
### Conway's Game of Life (Classic)
|
||||
```python
|
||||
import numpy as np
|
||||
from scipy.ndimage import convolve
|
||||
|
||||
- **정보 상태:** needs_review
|
||||
- **출처 신뢰도:** A
|
||||
- **검토 이유:** *(P-Reinforce Phase 1 자동 정규화. 본문 검증 필요.)*
|
||||
def step(grid):
|
||||
kernel = np.array([[1,1,1],[1,0,1],[1,1,1]])
|
||||
nb = convolve(grid, kernel, mode='wrap')
|
||||
return ((nb == 3) | ((grid == 1) & (nb == 2))).astype(int)
|
||||
```
|
||||
|
||||
## 🧬 중복 검사 (Duplicate Check)
|
||||
### Boids (Flocking)
|
||||
```python
|
||||
class Boids:
|
||||
def __init__(self, n=200):
|
||||
self.pos = np.random.rand(n, 2) * 100
|
||||
self.vel = (np.random.rand(n, 2) - 0.5) * 2
|
||||
def step(self):
|
||||
# cohesion + separation + alignment
|
||||
for i in range(len(self.pos)):
|
||||
d = np.linalg.norm(self.pos - self.pos[i], axis=1)
|
||||
mask = (d > 0) & (d < 10)
|
||||
if mask.any():
|
||||
cohesion = (self.pos[mask].mean(0) - self.pos[i]) * 0.01
|
||||
alignment = (self.vel[mask].mean(0) - self.vel[i]) * 0.05
|
||||
close = (d > 0) & (d < 3)
|
||||
separation = -((self.pos[close] - self.pos[i]).sum(0)) * 0.1 if close.any() else 0
|
||||
self.vel[i] += cohesion + alignment + separation
|
||||
speed = np.linalg.norm(self.vel, axis=1, keepdims=True).clip(min=0.5, max=3)
|
||||
self.vel = self.vel / np.linalg.norm(self.vel, axis=1, keepdims=True) * speed
|
||||
self.pos = (self.pos + self.vel) % 100
|
||||
```
|
||||
|
||||
- **기존 유사 문서:** *(TODO: 인덱서 클러스터 리포트 참조)*
|
||||
- **처리 방식:** UPDATE (자동 정규화)
|
||||
- **처리 이유:** Phase 1 정규화 — 옛 템플릿/누락 필드 보강.
|
||||
### Sandpile (Self-Organized Criticality)
|
||||
```python
|
||||
def sandpile_step(grid, threshold=4):
|
||||
drops = grid >= threshold
|
||||
while drops.any():
|
||||
grid[drops] -= threshold
|
||||
# spread to 4 neighbors
|
||||
grid[1:] += np.roll(drops, -1, axis=0)[1:]
|
||||
# ... (similar for other neighbors)
|
||||
drops = grid >= threshold
|
||||
return grid # avalanche size distribution → power law
|
||||
```
|
||||
|
||||
## 🕓 변경 이력 (Changelog)
|
||||
### Schelling Segregation
|
||||
```python
|
||||
def schelling(grid, tolerance=0.3, iters=1000):
|
||||
n = grid.shape[0]
|
||||
for _ in range(iters):
|
||||
unhappy = []
|
||||
for i, j in np.ndindex(grid.shape):
|
||||
if grid[i,j] == 0: continue
|
||||
nb = grid[max(0,i-1):i+2, max(0,j-1):j+2].flatten()
|
||||
similar = (nb == grid[i,j]).sum() - 1
|
||||
if similar / max(1, (nb != 0).sum() - 1) < tolerance:
|
||||
unhappy.append((i,j))
|
||||
# swap unhappy with random empty
|
||||
...
|
||||
return grid # macroscopic segregation emerges from mild micro-preference
|
||||
```
|
||||
|
||||
| 날짜 | 변경 내용 | 처리 방식 | 신뢰도 |
|
||||
|------|-----------|-----------|--------|
|
||||
| 2026-05-08 | P-Reinforce Phase 1 정규화 (frontmatter + 헤더 표준화) | UPDATE | A |
|
||||
### LLM Emergent Capability Detector
|
||||
```python
|
||||
def emergent_capability_curve(scales, accuracies, threshold=0.5):
|
||||
"""Find parameter scale where accuracy phase-transitions above random."""
|
||||
for s, a in zip(scales, accuracies):
|
||||
if a > threshold:
|
||||
return s
|
||||
return None
|
||||
# Wei et al 2022 — abrupt jump for arithmetic, multi-step reasoning
|
||||
```
|
||||
|
||||
### Mutual Information Across Scales
|
||||
```python
|
||||
from sklearn.feature_selection import mutual_info_regression
|
||||
def emergence_index(micro, macro):
|
||||
"""High MI(macro_t+1 | macro_t) - MI(macro_t+1 | micro_t) suggests emergence."""
|
||||
mi_macro = mutual_info_regression(macro[:-1].reshape(-1,1), macro[1:])[0]
|
||||
mi_micro = mutual_info_regression(micro[:-1], macro[1:])[0]
|
||||
return mi_macro - mi_micro
|
||||
```
|
||||
|
||||
## 매 결정 기준
|
||||
| 시스템 | Framework |
|
||||
|---|---|
|
||||
| Cellular automaton | GoL, ECA Wolfram class |
|
||||
| Multi-agent RL | swarm intelligence, MARL |
|
||||
| Physical phase transition | renorm group, Ising |
|
||||
| Neural network capabilities | scaling laws, mech interp |
|
||||
| Economic systems | ABM (Agent-Based Models) |
|
||||
| Brain dynamics | criticality, neural avalanche |
|
||||
|
||||
**기본값**: 매 ABM with 매 minimal local rules → 매 observe macro pattern → 매 measure emergence index.
|
||||
|
||||
## 🔗 Graph
|
||||
- 부모: [[Complexity Science]] · [[Systems Theory]]
|
||||
- 변형: [[Weak-Emergence]] · [[Strong-Emergence]] · [[Self-Organization]]
|
||||
- 응용: [[LLM-Emergent-Capabilities]] · [[Swarm-Intelligence]] · [[Market Microstructure]]
|
||||
- Adjacent: [[Dissipative-Structures]] · [[Self-Organized-Criticality]] · [[Phase-Transitions]] · [[Emergence]]
|
||||
|
||||
## 🤖 LLM 활용
|
||||
**언제**: 매 multi-agent prompt 의 collective behavior 분석, 매 capability scaling 예측.
|
||||
**언제 X**: 매 simple linear systems — 매 emergence framework overhead.
|
||||
|
||||
## ❌ 안티패턴
|
||||
- **"emergent" 의 mystification**: 매 simply "I don't understand" 의 placeholder.
|
||||
- **Strong emergence claim 남발**: 매 weak emergence 가 거의 모든 과학 case 에 충분.
|
||||
- **Ignoring scale separation**: 매 macro 가 micro 의 평균이면 매 trivial — 매 nonlinearity 필요.
|
||||
- **Mistaking correlation for emergence**: 매 둘 다 환경 forcing 으로 driven 가능.
|
||||
|
||||
## 🧪 검증 / 중복
|
||||
- Verified (Anderson 1972 *More is Different*; Bedau 1997; Wei et al. 2022 *Emergent Abilities of LLMs*; Mitchell 2009 *Complexity*).
|
||||
- 신뢰도 A.
|
||||
- 매 사촌 페이지: [[Emergence]] (broader philosophical treatment).
|
||||
|
||||
## 🕓 Changelog
|
||||
| 날짜 | 변경 |
|
||||
|---|---|
|
||||
| 2026-05-08 | Phase 1 |
|
||||
| 2026-05-10 | Manual cleanup — full content with GoL, Boids, sandpile, Schelling, LLM emergent |
|
||||
|
||||
Reference in New Issue
Block a user