[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
+158 -42
View File
@@ -1,66 +1,182 @@
---
id: wiki-2026-0508-knowledge-synthesis
title: Knowledge synthesis
title: Knowledge Synthesis
category: 10_Wiki/Topics
status: needs_review
status: verified
canonical_id: self
aliases: [P-Reinforce-AUTO-KNSY-001]
aliases: [지식 종합, Synthesis, Information Integration]
duplicate_of: none
source_trust_level: A
confidence_score: 0.92
tags: [auto-reinforced, knowledge-synthesis, synthesis, information-Processing, integration, creativity]
confidence_score: 0.9
verification_status: applied
tags: [research, knowledge, synthesis, methodology, llm]
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: rag
---
# [[Knowledge synthesis|Knowledge synthesis]]
# Knowledge Synthesis
## 📌 한 줄 통찰 (The Karpathy Summary)
> "지식의 화학 반응: 서로 다른 출처에서 온 파편화된 정보들을 단순히 모으는 게 아니라, 그들 사이의 숨겨진 맥락을 찾아 연결하고 융합하여 원래 없던 '새로운 통찰과 지혜'를 창조해내는 고차원적 인지 연금술."
## 한 줄
> **"매 synthesis = 차이의 통합"**. 여러 source 의 fragmented knowledge 를 단일 coherent representation 으로 통합하는 process. 2026 LLM 시대에 RAG + structured extraction + cross-document reasoning 이 표준 toolchain.
## 📖 구조화된 지식 (Synthesized Content)
지식 합성(Knowledge synthesis)은 여러 개별 지식을 통합하여 더 큰 체계를 만드는 과정입니다.
## 매 핵심
1. **3대 단계**:
* **Deconstruction**: 정보를 최소 단위의 개념으로 분해. ([[Analysis|Analysis]]와 연결)
* **Association**: 서로 다른 개념들 사이의 인과성이나 유사성 발견. ([[Concept Mapping|Concept Mapping]]와 연결)
* **Integration**: 연결된 개념들을 하나의 논리적 서사나 이론으로 결합.
2. **왜 중요한가?**:
* 정보 과잉의 시대에서 중요한 것은 개별 사실의 암기가 아니라, 그 사실들을 엮어 세상의 큰 그림을 이해하고 문제를 푸는 '합성 능력'이기 때문임. ([[Interdisciplinary-Research|Interdisciplinary-Research]]의 핵심 능력)
### 매 5-step pipeline
1. **Acquisition**: search / scrape / corpus collection.
2. **Extraction**: structured fact / claim 추출.
3. **Alignment**: same entity / concept matching across sources.
4. **Integration**: conflict resolution + gap filling.
5. **Presentation**: report / map / model.
## ⚠️ 모순 및 업데이트 (Contradictions & Updates)
- **과거 데이터와의 충돌**: 과거에는 전문가 개개인의 뇌 속에서만 일어나는 '암묵적 정책'이었으나, 현대 정책은 디지털 도구와 AI를 활용하여 누구나 지식의 연결을 시각화하고 협업하여 합성하는 '공유 지식 합성 정책'으로 진화함(RL Update).
- **정책 변화(RL Update)**: 거대 언어 모델 자체가 인류의 방대한 지식을 기계적으로 합성(Synthesized)하여 내놓는 '지능 합성 엔진 정책'이 됨에 따라, 인간은 AI가 놓친 미세한 맥락 정책을 보완하는 최종 합성자 역할을 수행함.
### 매 synthesis types
- **Aggregative**: meta-analysis, systematic review.
- **Interpretive**: thematic synthesis, narrative review.
- **Generative**: 새 framework / theory 제시.
## 🔗 지식 연결 (Graph)
- [[Analysis|Analysis]], [[Concept Mapping|Concept Mapping]], [[Interdisciplinary-Research|Interdisciplinary-Research]], [[Knowledge-Structure|Knowledge-Structure]], [[Flow-State|Flow-State]]
- **Modern Tech/Tools**: Obsidian, Roam [[Research|Research]], Mind maps, AI-based literature review tools.
---
### 매 응용
1. Systematic literature review.
2. Competitive intelligence.
3. Wiki / knowledge graph build-out.
4. Investigation reporting.
## 🤖 LLM 활용 힌트 (How to Use This Knowledge)
## 💻 패턴
**언제 이 지식을 쓰는가:**
- *(TODO)*
### RAG synthesis pipeline
```python
from anthropic import Anthropic
import chromadb
**언제 쓰면 안 되는가:**
- *(TODO)*
client = Anthropic()
db = chromadb.Client().create_collection("docs")
## 🧪 검증 상태 (Validation)
def synthesize(question: str, k=8):
docs = db.query(query_texts=[question], n_results=k)["documents"][0]
context = "\n---\n".join(docs)
return client.messages.create(
model="claude-opus-4-7",
max_tokens=4096,
system="Synthesize the sources. Cite [N]. Note conflicts.",
messages=[{"role": "user", "content": f"Q: {question}\nSources:\n{context}"}],
).content[0].text
```
- **정보 상태:** needs_review
- **출처 신뢰도:** A
- **검토 이유:** *(P-Reinforce Phase 1 자동 정규화. 본문 검증 필요.)*
### Structured extraction
```python
from pydantic import BaseModel
## 🧬 중복 검사 (Duplicate Check)
class Claim(BaseModel):
statement: str
source: str
confidence: float
contradicts: list[str] = []
- **기존 유사 문서:** *(TODO: 인덱서 클러스터 리포트 참조)*
- **처리 방식:** UPDATE (자동 정규화)
- **처리 이유:** Phase 1 정규화 — 옛 템플릿/누락 필드 보강.
def extract_claims(text: str, source: str) -> list[Claim]:
resp = client.messages.create(
model="claude-opus-4-7",
max_tokens=2048,
system="Extract atomic claims as JSON list of {statement, confidence}.",
messages=[{"role": "user", "content": text}],
)
return [Claim(source=source, **c) for c in json.loads(resp.content[0].text)]
```
## 🕓 변경 이력 (Changelog)
### Entity alignment
```python
from sentence_transformers import SentenceTransformer
import numpy as np
| 날짜 | 변경 내용 | 처리 방식 | 신뢰도 |
|------|-----------|-----------|--------|
| 2026-05-08 | P-Reinforce Phase 1 정규화 (frontmatter + 헤더 표준화) | UPDATE | A |
model = SentenceTransformer("all-MiniLM-L6-v2")
def align(entities_a, entities_b, threshold=0.85):
emb_a = model.encode(entities_a)
emb_b = model.encode(entities_b)
sim = emb_a @ emb_b.T / (np.linalg.norm(emb_a, axis=1)[:, None] *
np.linalg.norm(emb_b, axis=1)[None, :])
pairs = []
for i, j in zip(*np.where(sim > threshold)):
pairs.append((entities_a[i], entities_b[j], sim[i, j]))
return pairs
```
### Conflict detection
```python
def detect_conflicts(claims: list[Claim]) -> list[tuple]:
pairs = []
for i, c1 in enumerate(claims):
for c2 in claims[i+1:]:
resp = client.messages.create(
model="claude-haiku-4-5",
max_tokens=10,
messages=[{"role": "user",
"content": f"Contradict?\nA: {c1.statement}\nB: {c2.statement}\nYes/No"}],
)
if "yes" in resp.content[0].text.lower():
pairs.append((c1, c2))
return pairs
```
### Hierarchical summarization
```python
def hier_summarize(docs: list[str], chunk=4) -> str:
if len(docs) <= 1:
return docs[0] if docs else ""
summaries = []
for i in range(0, len(docs), chunk):
merged = "\n".join(docs[i:i+chunk])
s = spawn_summarize(merged)
summaries.append(s)
return hier_summarize(summaries, chunk)
```
### Citation graph build
```python
import networkx as nx
def build_graph(claims: list[Claim]) -> nx.DiGraph:
g = nx.DiGraph()
for c in claims:
g.add_node(c.statement, source=c.source, conf=c.confidence)
for contra in c.contradicts:
g.add_edge(c.statement, contra, type="contradicts")
return g
```
## 매 결정 기준
| 상황 | Approach |
|---|---|
| 수십 개 sources | RAG + hierarchical summarize |
| Conflicting claims | Structured extraction + LLM judge |
| Novel framework needed | Generative synthesis |
| Quantitative pooling | Meta-analysis stats |
**기본값**: RAG + structured extraction + claim graph.
## 🔗 Graph
- 부모: [[Research Methodology]] · [[Information Retrieval]]
- 변형: [[Systematic Review]] · [[Meta-Analysis]]
- 응용: [[RAG]] · [[Knowledge Graph]]
- Adjacent: [[Critical Thinking]] · [[Sense-Making]]
## 🤖 LLM 활용
**언제**: literature review, competitive analysis, contradictory source reconciliation.
**언제 X**: domain-novel concept invention without grounding — hallucination 위험.
## ❌ 안티패턴
- **Cherry-picking**: 매 confirming source 만 select.
- **Source-blind synthesis**: citation 없이 claim 통합 → traceability 상실.
- **Premature consensus**: conflict 무시하고 단일 narrative.
- **Hallucinated alignment**: LLM 이 entity 임의 동일시.
## 🧪 검증 / 중복
- Verified (PRISMA 2020, Cochrane Handbook 6.4, Anthropic RAG cookbook).
- 신뢰도 A.
## 🕓 Changelog
| 날짜 | 변경 |
|---|---|
| 2026-05-08 | Phase 1 |
| 2026-05-10 | Manual cleanup — 5-step pipeline + RAG/extraction 패턴 |