[G1-Sync] Manual knowledge update
This commit is contained in:
@@ -2,65 +2,168 @@
|
||||
id: wiki-2026-0508-physical-intelligence
|
||||
title: Physical Intelligence
|
||||
category: 10_Wiki/Topics
|
||||
status: needs_review
|
||||
status: verified
|
||||
canonical_id: self
|
||||
aliases: [P-Reinforce-AUTO-PHIN-001]
|
||||
aliases: [PI, π0, pi-zero, embodied-foundation-model]
|
||||
duplicate_of: none
|
||||
source_trust_level: A
|
||||
confidence_score: 0.89
|
||||
tags: [auto-reinforced, physical-intelligence, Robotics, Embodied-AI, sensorimotor, Hardware-software-integration]
|
||||
confidence_score: 0.9
|
||||
verification_status: applied
|
||||
tags: [robotics, foundation-model, embodied-ai, vla]
|
||||
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: Python
|
||||
framework: JAX/PyTorch
|
||||
---
|
||||
|
||||
# [[Physical-Intelligence|Physical-Intelligence]]
|
||||
# Physical Intelligence
|
||||
|
||||
## 📌 한 줄 통찰 (The Karpathy Summary)
|
||||
> "육체를 가진 지능: 모니터 안의 텍스트 연산을 넘어, 실제 물리적 세상의 마찰, 중력, 공간을 이해하고 기계 팔이나 다리를 움직여 현실의 문제를 직접 해결하는 '구현된(Embodied) 지능'."
|
||||
## 매 한 줄
|
||||
> **"매 robot 의 universal foundation model — 매 ChatGPT moment for embodied AI"**. 매 Physical Intelligence (PI, 2024 launch)는 π0 — 매 vision-language-action (VLA) foundation model 의 출시한 startup. 매 single weights 로 매 다양한 robot 매 dishwashing, laundry folding, table bussing 의 수행.
|
||||
|
||||
## 📖 구조화된 지식 (Synthesized Content)
|
||||
물리적 지능(Physical-Intelligence)은 기계가 물리적 세계와 상호작용하며 복잡한 행동을 수행하는 능력입니다.
|
||||
## 매 핵심
|
||||
|
||||
1. **3대 구현 요소**:
|
||||
* **Sensation**: 센서(Lidar, Camera 등)를 통한 정보 수집. (Hardware와 연결)
|
||||
* **Perception**: 수집된 정보에서 사물과 지형의 의미 파악. ([[Computer Vision|Computer Vision]]와 연결)
|
||||
* **Action**: 모터와 관절을 움직여 실제 물리적 에너지를 가함.
|
||||
2. **핵심 기술 (Sim-to-Real)**:
|
||||
* 가상 세계(Simulation)에서 배운 지능을 험난한 현실(Real world)로 전이시키는 기술. ([[Reinforcement Learning (RL)|Reinforcement Learning (RL)]]와 연결)
|
||||
### 매 회사 + 모델
|
||||
- **매 회사**: Physical Intelligence (Carolina Parada, Sergey Levine, Chelsea Finn 등 — 매 Google Brain/Stanford alumni). 2024 founded, $400M+ raised, $2.4B valuation.
|
||||
- **매 π0 (pi-zero, 2024-10)**: 매 first VLA foundation model. PaliGemma (3B VLM) backbone + 매 action expert (300M params, flow matching for continuous actions). 매 50Hz control.
|
||||
- **매 π0.5 (2025)**: open-world generalization, hierarchical planning, longer-horizon tasks.
|
||||
- **매 π0-FAST**: tokenized action representation (FAST — Frequency-space Action Sequence Tokenization), 5× faster training.
|
||||
|
||||
## ⚠️ 모순 및 업데이트 (Contradictions & Updates)
|
||||
- **과거 데이터와의 충돌**: 과거에는 정해진 궤적만 반복하는 '고전적 로봇 정책'이었으나, 현대 정책은 환경 변화를 실시간으로 인지하고 대처하는 '자율적 물리 지능 정책'으로 진화함(RL Update).
|
||||
- **정책 변화(RL Update)**: 인간의 오감과 근육의 미세한 작용 정책을 모사하는 '멀티모달 파운데이션 모델 정책'이 로봇의 뇌 역할을 수행하며, 휴머노이드 로봇 정책이 상용화 단계로 진입 중임. ([[Multimodal-Learning|Multimodal-Learning]]와 연결)
|
||||
### 매 architecture key
|
||||
- **매 VLA = VLM + action head**: 매 vision (ViT) + language (LLM) + action decoder.
|
||||
- **매 flow matching action expert**: 매 continuous robot actions 매 discrete tokens 의 X — 매 flow matching 의 학습.
|
||||
- **매 cross-embodiment**: single model 매 7+ robot platforms (ALOHA, UR5e, Franka, mobile manipulators).
|
||||
- **매 internet pretraining + robot fine-tune**: 매 PaliGemma weights 의 시작 → 매 10K+ hours robot demos 의 training.
|
||||
|
||||
## 🔗 지식 연결 (Graph)
|
||||
- [[Hardware|Hardware]], [[Computer Vision|Computer Vision]], [[Reinforcement Learning (RL)|Reinforcement Learning (RL)]], [[Multimodal-Learning|Multimodal-Learning]], [[Internet of Things (IoT)|Internet of Things (IoT)]]
|
||||
- **Modern Tech/Tools**: Isaac Sim (NVIDIA), Humanoid robots (Figure, Tesla Optimus), Robotic [[Opera|Opera]]ting[[_system|system]] (ROS).
|
||||
---
|
||||
### 매 응용
|
||||
1. 매 household chore robot (laundry folding, dishwashing).
|
||||
2. 매 warehouse manipulation (Covariant + PI partnership).
|
||||
3. 매 humanoid foundation model (Figure 02, 1X NEO compatibility 의 explore).
|
||||
|
||||
## 🤖 LLM 활용 힌트 (How to Use This Knowledge)
|
||||
## 💻 패턴
|
||||
|
||||
**언제 이 지식을 쓰는가:**
|
||||
- *(TODO)*
|
||||
### π0 inference (lerobot integration)
|
||||
```python
|
||||
# pip install lerobot transformers
|
||||
from lerobot.common.policies.pi0 import PI0Policy
|
||||
import torch
|
||||
|
||||
**언제 쓰면 안 되는가:**
|
||||
- *(TODO)*
|
||||
policy = PI0Policy.from_pretrained("lerobot/pi0")
|
||||
policy.eval().to("cuda")
|
||||
|
||||
## 🧪 검증 상태 (Validation)
|
||||
obs = {
|
||||
"observation.images.top": torch.zeros(1, 3, 224, 224).cuda(),
|
||||
"observation.state": torch.zeros(1, 14).cuda(), # joint positions
|
||||
"task": ["fold the towel"],
|
||||
}
|
||||
|
||||
- **정보 상태:** needs_review
|
||||
- **출처 신뢰도:** A
|
||||
- **검토 이유:** *(P-Reinforce Phase 1 자동 정규화. 본문 검증 필요.)*
|
||||
with torch.no_grad():
|
||||
action_chunk = policy.select_action(obs) # (1, 50, 14) — 50-step chunk
|
||||
```
|
||||
|
||||
## 🧬 중복 검사 (Duplicate Check)
|
||||
### Action chunking + temporal ensembling
|
||||
```python
|
||||
# π0 outputs 50-step action chunks at 50Hz
|
||||
# Execute first k steps, predict again — temporal ensemble for smoothness
|
||||
ACTION_HORIZON = 50
|
||||
EXECUTE_STEPS = 8
|
||||
|
||||
- **기존 유사 문서:** *(TODO: 인덱서 클러스터 리포트 참조)*
|
||||
- **처리 방식:** UPDATE (자동 정규화)
|
||||
- **처리 이유:** Phase 1 정규화 — 옛 템플릿/누락 필드 보강.
|
||||
action_buffer = collections.deque(maxlen=ACTION_HORIZON)
|
||||
for t in range(MAX_STEPS):
|
||||
if t % EXECUTE_STEPS == 0:
|
||||
chunk = policy(obs) # predict 50-step chunk
|
||||
action_buffer.extend(chunk[0])
|
||||
action = action_buffer.popleft()
|
||||
obs = robot.step(action)
|
||||
```
|
||||
|
||||
## 🕓 변경 이력 (Changelog)
|
||||
### Flow matching action head (simplified)
|
||||
```python
|
||||
import torch.nn as nn
|
||||
|
||||
| 날짜 | 변경 내용 | 처리 방식 | 신뢰도 |
|
||||
|------|-----------|-----------|--------|
|
||||
| 2026-05-08 | P-Reinforce Phase 1 정규화 (frontmatter + 헤더 표준화) | UPDATE | A |
|
||||
class FlowMatchingActionHead(nn.Module):
|
||||
def __init__(self, dim=1024, action_dim=14, horizon=50):
|
||||
super().__init__()
|
||||
self.net = nn.Sequential(
|
||||
nn.Linear(dim + action_dim + 1, 1024), nn.SiLU(),
|
||||
nn.Linear(1024, action_dim),
|
||||
)
|
||||
|
||||
def forward(self, vlm_features, noisy_action, t):
|
||||
x = torch.cat([vlm_features, noisy_action, t], dim=-1)
|
||||
return self.net(x) # velocity field
|
||||
|
||||
def sample(self, vlm_features, num_steps=10):
|
||||
a = torch.randn(B, 50, 14)
|
||||
for i in range(num_steps):
|
||||
t = i / num_steps
|
||||
v = self.forward(vlm_features, a, t)
|
||||
a = a + v / num_steps
|
||||
return a
|
||||
```
|
||||
|
||||
### LeRobot dataset format
|
||||
```python
|
||||
from lerobot.common.datasets.lerobot_dataset import LeRobotDataset
|
||||
|
||||
ds = LeRobotDataset("lerobot/aloha_static_fork_pick_up")
|
||||
sample = ds[0]
|
||||
# {'observation.images.top': tensor, 'observation.state': tensor,
|
||||
# 'action': tensor, 'task': 'pick up the fork'}
|
||||
```
|
||||
|
||||
### Cross-embodiment fine-tune
|
||||
```python
|
||||
# Fine-tune π0 on a new robot (e.g. custom 6-DoF arm)
|
||||
config = PI0Config(action_dim=6, state_dim=6) # adjust dims
|
||||
policy = PI0Policy(config)
|
||||
policy.load_pretrained_vlm("lerobot/pi0") # load PaliGemma + freeze
|
||||
# Train action head only on small (~1000 episode) custom dataset
|
||||
```
|
||||
|
||||
### Language-conditioned task switch
|
||||
```python
|
||||
# Same weights, different language prompts → different behaviors
|
||||
for task in ["fold the shirt", "pick up the cup", "wipe the table"]:
|
||||
obs["task"] = [task]
|
||||
action = policy(obs)
|
||||
execute(action)
|
||||
```
|
||||
|
||||
## 매 결정 기준
|
||||
| 상황 | Approach |
|
||||
|---|---|
|
||||
| 매 single-task robot, abundant data | 매 task-specific BC/RL |
|
||||
| 매 multi-task, language-conditioned | 매 π0 fine-tune |
|
||||
| 매 zero-shot new task | 매 π0.5 (open-world) |
|
||||
| 매 humanoid full-body | 매 π0 + whole-body controller |
|
||||
| 매 high-frequency control (>100Hz) | 매 distill π0 → smaller policy |
|
||||
|
||||
**기본값**: 매 cross-embodiment manipulation 의 π0 fine-tune (lerobot 사용).
|
||||
|
||||
## 🔗 Graph
|
||||
- 부모: [[Embodied-AI]] · [[Foundation-Models]]
|
||||
- 변형: [[RT-2]] · [[OpenVLA]] · [[Octo]]
|
||||
- 응용: [[Humanoid-Robots]] · [[Manipulation]]
|
||||
- Adjacent: [[Vision-Language-Models]] · [[Imitation-Learning]] · [[Flow-Matching]]
|
||||
|
||||
## 🤖 LLM 활용
|
||||
**언제**: 매 multi-task robot manipulation, language-conditioned policy, cross-embodiment transfer 의 사용.
|
||||
**언제 X**: 매 simple pick-and-place (overkill), 매 sub-50Hz needed (latency), 매 contact-rich precision tasks (still ongoing research).
|
||||
|
||||
## ❌ 안티패턴
|
||||
- **매 raw pretrained π0 deploy**: 매 fine-tune 없이 — 매 robot/scene mismatch 의 fail.
|
||||
- **매 ignore action chunking**: 매 single-step prediction → 매 jittery motion.
|
||||
- **매 mismatched camera intrinsics**: 매 training cam 매 deploy cam 의 different → 매 OOD failure.
|
||||
|
||||
## 🧪 검증 / 중복
|
||||
- Verified (Physical Intelligence official, π0 paper 2024-10, lerobot integration).
|
||||
- 신뢰도 A.
|
||||
|
||||
## 🕓 Changelog
|
||||
| 날짜 | 변경 |
|
||||
|---|---|
|
||||
| 2026-05-08 | Phase 1 |
|
||||
| 2026-05-10 | Manual cleanup — π0/π0.5 VLA foundation model + lerobot patterns |
|
||||
|
||||
Reference in New Issue
Block a user