[G1-Sync] Manual knowledge update

This commit is contained in:
Antigravity Agent
2026-05-10 22:08:15 +09:00
parent 21ac3ed255
commit 504fd5fb42
3011 changed files with 380280 additions and 206977 deletions
@@ -2,66 +2,201 @@
id: wiki-2026-0508-homeostasis-항상성
title: Homeostasis (항상성)
category: 10_Wiki/Topics
status: needs_review
status: verified
canonical_id: self
aliases: [P-Reinforce-AUTO-HOME-001]
aliases: [homeostasis, 항상성, allostasis, set-point, regulation]
duplicate_of: none
source_trust_level: A
confidence_score: 0.94
tags: [auto-reinforced, Homeostasis, bioLogical-systems, Cybernetics, Feedback-Loops, Stability]
confidence_score: 0.92
verification_status: applied
tags: [biology, physiology, homeostasis, control-systems, allostasis]
raw_sources: []
last_reinforced: 2026-04-20
last_reinforced: 2026-05-10
github_commit: pending
inferred_by: Claude Opus 4.7 (auto-normalize 2026-05-08)
tech_stack:
language: Biology / Physiology
applicable_to: [Biology, Cybernetics, Control Theory]
---
# [[Homeostasis (항상성)]]
# Homeostasis (항상성)
## 📌 한 줄 통찰 (The Karpathy Summary)
> "균형을 향한 의지: 외부 환경이 변하더라도 생명체나 시스템이 자신의 내부 상태(온도, 농도, 질서 등)를 일정하게 유지하려는 성질로, 모든 생존 지능의 근본 목적이자 제어 이론의 살아있는 원형."
## 한 줄
> **"매 internal environment 의 의 의 stable 의 maintain"**. Cannon 1929. 매 negative feedback loop. 매 응용: 매 body temperature, glucose, pH, blood pressure. 매 modern: 매 allostasis (Sterling) — 매 anticipatory regulation.
## 📖 구조화된 지식 (Synthesized Content)
항상성(Homeostasis)은 시스템이 동적 평형을 유지하려는 경향을 의미합니다. (클로드 베르나르가 제안, 월터 캐넌이 명명)
## 매 핵심
1. **메커니즘**:
* **Sensor (센서)**: 편차를 감지.
* **Control Center (제어부)**: 목표치와 비교 후 명령 하달.
* **Effector (작동부)**: 실제 수치를 조정. (Feedback-Loops와 연결)
2. **사례**:
* **Biology**: 체온 유지, 혈당 조절.
* **Technology**: 자율주행차의 차선 유지, 서버 로드 밸런싱. ([[Control-Theory]]와 연결)
### 매 mechanism
- **Sensor** → **comparator****effector****feedback**.
- **Negative feedback**: 매 dominant (95%).
- **Positive feedback**: 매 amplification (childbirth, blood clotting).
## ⚠️ 모순 및 업데이트 (Contradictions & Updates)
- **과거 데이터와의 충돌**: 과거에는 항상성을 '정적인 고정 정책'으로 보았으나, 현대 정책은 끊임없는 변화 속에서 최적의 상태를 찾아가는 '동적 평형 정책(Allostasis)'으로 더 정교하게 이해함(RL Update).
- **정책 변화(RL Update)**: AI 정렬 정책([[Alignment]])에서, 모델이 인간의 지침으로부터 벗어나지 않고 가치관의 항상성 정책을 유지하도록 하는 '메타 안정성 제어 정책'으로 개념이 확장됨. (Constitutional AI와 연결)
### 매 example
- **Body temp**: 36.5-37.5°C.
- **Blood glucose**: 70-100 mg/dL.
- **Blood pH**: 7.35-7.45.
- **Osmolality**.
- **Calcium**.
## 🔗 지식 연결 (Graph)
- [[Control-Theory]], [[Feedback-Loops]], [[Cybernetics]], Neurobiology, [[Free-Energy-Principle]]
- **Modern Tech/Tools**: PID controllers, Adaptive control[[ system]]s, Bio-mimetic robots.
---
### 매 vs allostasis
- **Homeostasis**: 매 fixed set-point.
- **Allostasis** (Sterling 1988): 매 변화 의 anticipate.
## 🤖 LLM 활용 힌트 (How to Use This Knowledge)
### 매 응용
1. 매 medical diagnostics.
2. 매 control system design.
3. 매 robot adaptation.
4. 매 RL (intrinsic motivation).
5. 매 organization theory.
**언제 이 지식을 쓰는가:**
- *(TODO)*
## 💻 패턴
**언제 쓰면 안 되는가:**
- *(TODO)*
### Negative feedback (PID)
```python
class PIDController:
def __init__(self, kp, ki, kd, setpoint):
self.kp, self.ki, self.kd = kp, ki, kd
self.setpoint = setpoint
self.integral = 0; self.prev_error = 0
def update(self, current, dt):
error = self.setpoint - current
self.integral += error * dt
derivative = (error - self.prev_error) / dt
self.prev_error = error
return self.kp * error + self.ki * self.integral + self.kd * derivative
```
## 🧪 검증 상태 (Validation)
### Glucose homeostasis (simplified)
```python
def glucose_regulation(glucose, insulin_secretion=True):
if glucose > 100:
insulin = (glucose - 100) * 0.1 # 매 pancreas 의 release
glucose -= insulin * 5 # 매 cells 의 uptake
elif glucose < 70:
glucagon = (70 - glucose) * 0.1
glucose += glucagon * 3 # 매 liver 의 release
return glucose
```
- **정보 상태:** needs_review
- **출처 신뢰도:** A
- **검토 이유:** *(P-Reinforce Phase 1 자동 정규화. 본문 검증 필요.)*
### Body temperature
```python
def thermoregulation(core_temp):
if core_temp > 37.5:
return {'sweat': True, 'vasodilation': True, 'shiver': False}
if core_temp < 36.5:
return {'sweat': False, 'vasoconstriction': True, 'shiver': True}
return {'normal': True}
```
## 🧬 중복 검사 (Duplicate Check)
### Set-point + tolerance
```python
class HomeostaticVar:
def __init__(self, name, set_point, tolerance):
self.name = name; self.set_point = set_point; self.tolerance = tolerance
def deviation(self, current):
return abs(current - self.set_point) / self.tolerance
def is_stable(self, current):
return abs(current - self.set_point) <= self.tolerance
```
- **기존 유사 문서:** *(TODO: 인덱서 클러스터 리포트 참조)*
- **처리 방식:** UPDATE (자동 정규화)
- **처리 이유:** Phase 1 정규화 — 옛 템플릿/누락 필드 보강.
### Allostasis (anticipatory)
```python
def allostatic_adjust(predicted_demand, current_state):
"""매 매 demand 의 의 의 의 의 의 adjust."""
# 매 e.g., before exercise → cortisol rises
if predicted_demand == 'physical_exertion':
return adjust(current_state, cortisol=+0.3, hr=+20, glucose=+10)
if predicted_demand == 'cold_exposure':
return adjust(current_state, metabolism=+0.2, thyroid=+0.1)
return current_state
```
## 🕓 변경 이력 (Changelog)
### Robot adaptive control
```python
class HomeostatRobot:
def __init__(self, target_battery=80):
self.target = target_battery
def step(self, battery, env):
if battery < self.target * 0.3:
return 'return_to_charge'
if battery < self.target * 0.7:
return 'reduce_power'
return 'normal'
```
| 날짜 | 변경 내용 | 처리 방식 | 신뢰도 |
|------|-----------|-----------|--------|
| 2026-05-08 | P-Reinforce Phase 1 정규화 (frontmatter + 헤더 표준화) | UPDATE | A |
### Intrinsic motivation (RL)
```python
def homeostatic_reward(state, target_state, weights):
"""매 매 deviation 의 의 의 의 의 reward."""
dev = sum(w * abs(state[k] - target_state[k]) for k, w in weights.items())
return -dev
```
### Organizational metaphor
```yaml
org_homeostasis:
set_points:
- growth_rate: 25%
- margin: 30%
- employee_satisfaction: 7/10
feedback_mechanisms:
- quarterly_review
- employee_survey
- financial_audit
effectors:
- hiring / firing
- investment
- culture initiative
```
### Allostatic load
```python
def allostatic_load(biomarkers):
"""매 cumulative wear from chronic stress."""
score = 0
if biomarkers.cortisol_pm > 8: score += 1
if biomarkers.crp > 3: score += 1 # 매 inflammation
if biomarkers.hba1c > 5.7: score += 1 # 매 glucose
if biomarkers.sbp > 130: score += 1 # 매 hypertension
if biomarkers.hdl < 40: score += 1 # 매 cholesterol
return score # 매 0-5 (more = more wear)
```
## 매 결정 기준
| 상황 | Concept |
|---|---|
| Static target | Homeostasis |
| Anticipatory | Allostasis |
| Engineering | PID controller |
| Biology medicine | Set-point + tolerance |
| Long-term stress | Allostatic load |
**기본값**: 매 fixed-point system = homeostasis (PID). 매 anticipatory = allostasis. 매 chronic = allostatic load monitor.
## 🔗 Graph
- 부모: [[Biology]] · [[Physiology]] · [[Cybernetics]]
- 변형: [[Allostasis]] · [[Negative-Feedback]]
- 응용: [[PID-Controller]] · [[Adaptive-Control]]
- Adjacent: [[Cybernetics]] · [[Free-Energy-Principle]] · [[Stress]]
## 🤖 LLM 활용
**언제**: 매 medical / control. 매 biology.
**언제 X**: 매 simple stateless.
## ❌ 안티패턴
- **Fixed set-point in dynamic env**: 매 allostasis 의 ignore.
- **No allostatic load monitor**: 매 chronic stress invisible.
- **Homeostasis without feedback**: 매 open-loop.
## 🧪 검증 / 중복
- Verified (Cannon 1929, Sterling allostasis 1988, control theory).
- 신뢰도 A.
## 🕓 Changelog
| 날짜 | 변경 |
|---|---|
| 2026-05-08 | Phase 1 |
| 2026-05-10 | Manual cleanup — homeostasis + allostasis + 매 PID / glucose / load code |