aien-architecture-mv
Canonical architecture for the AIEN ecosystem: flows, boundaries, ADRs, and the map from design to implementation repositories.
Brought by drakestapleton
aien-architecture-mv / docs / research / pearl.md
| 1 | # Research Note: PEARL and AIEN |
| 2 | |
| 3 | ## Paper |
| 4 | |
| 5 | **PEARL: Path-Entity Aligned Relational Learning with Contextual Subgraphs for Inductive Knowledge Graph Completion** (September 2026). |
| 6 | |
| 7 | ## Mechanism worth studying |
| 8 | |
| 9 | - query-specific contextual subgraph, |
| 10 | - candidate multi-hop paths, |
| 11 | - paths become graph nodes, |
| 12 | - path ↔ entity interaction, |
| 13 | - path ↔ global context interaction, |
| 14 | - relation-conditioned path attention, |
| 15 | - contrastive robustness against irrelevant context. |
| 16 | |
| 17 | ## Why it maps to AIEN |
| 18 | |
| 19 | AIEN already has graph-shaped data: |
| 20 | |
| 21 | - Cortex entities/claims/evidence, |
| 22 | - Capability Graph, |
| 23 | - World lineage, |
| 24 | - J-Space candidates. |
| 25 | |
| 26 | ## What not to copy |
| 27 | |
| 28 | The released reference uses Python/PyTorch/DGL and includes provider-specific LLM path-ranking code. AIEN should independently implement the concept in Rust and use AIEN's own model router. |
| 29 | |
| 30 | ## Safety boundary |
| 31 | |
| 32 | Relational inference may suggest that a relationship exists. It must never grant actual runtime authority. |
| 33 | |
| 34 | Examples: |
| 35 | |
| 36 | ```text |
| 37 | predicted "Machine can run Tool" != Fabric advertisement |
| 38 | predicted "credential available" != Vault resolver |
| 39 | predicted "allowed" != AEGIS authorization |
| 40 | ``` |
| 41 | |
| 42 | Predictions rank hypotheses. Authoritative systems decide facts. |
| 43 | |
| 44 | ## Experiment before adoption |
| 45 | |
| 46 | A/B: |
| 47 | |
| 48 | - Cortex candidate recovery, |
| 49 | - Skill routing accuracy, |
| 50 | - invalid tool rate, |
| 51 | - unavailable Machine selections, |
| 52 | - J-Space time-to-valid result, |
| 53 | - path scoring latency, |
| 54 | - token cost, |
| 55 | - robustness to irrelevant context. |