MedBeads:面向可信医疗AI的智能体原生不可变数据基底
MedBeads: An AI-Native Clinical Context Graph Built from Immutable Beads and Reconstructable Clinical Links
AI总结:
针对医疗AI中电子病历与智能体间的上下文不匹配问题,提出基于Merkle有向无环图的不可变数据架构MedBeads,通过确定性图遍历替代概率检索,实现可审计、防篡改的临床上下文提供。
摘要:
背景:截至2026年,大型语言模型(LLM)展现出专家级医学知识。然而,将其部署为自主“临床智能体”仍受限。当前的电子病历(EMR)及FHIR等标准专为人工审阅设计,导致“上下文不匹配”:AI智能体接收碎片化数据,必须依赖概率推理(如RAG)重建患者病史。该方法引发幻觉并阻碍可审计性。方法:我们提出MedBeads,一种智能体原生数据基础设施,其中临床事件是不可变的“珠子”——Merkle有向无环图(DAG)中的节点——通过密码学引用因果前驱。这种“一次写入、多次读取”架构使篡改在数学上可检测。我们实现了原型,包含Go核心引擎、用于LLM集成的Python中间件以及基于React的可视化界面。结果:我们使用合成数据成功实现了工作流。FHIR到DAG的转换将扁平资源转化为因果关联图。我们的广度优先搜索(BFS)上下文检索算法以O(V+E)复杂度遍历相关子图,支持实时决策支持。防篡改特性由设计保证:任何修改都会破坏密码学链。可视化通过显式因果链接帮助临床医生理解。结论:MedBeads通过从概率搜索转向确定性图遍历、从可变记录转向不可变链,解决了“上下文不匹配”,为“可信医疗AI”提供了基底。它保证了AI接收的上下文是确定且防篡改的,而LLM负责解释。结构化的珠子格式充当了令牌高效的“AI原生语言”。我们将MedBeads作为开源软件发布,以加速智能体原生数据标准。
英文摘要:
Generative AI can encode substantial medical knowledge, but patient-specific answers remain constrained by the context supplied at inference time. Electronic health records and FHIR support documentation and interoperability, but they do not by themselves define the complete, current, and auditable context a model should receive. Similarity-based retrieval can find related text, but it neither guarantees collection of clinically connected records nor makes omissions explicit. We introduce MedBeads, an AI-facing clinical record substrate that assembles a declared closure of longitudinal patient information before generation. A Bead is an immutable clinical or knowledge object identified by SHA-256 over canonical content and stored as an append-only frame in a patient-scoped Pod. Structural parent edges form a patient-rooted Merkle DAG. Typed clinical links occupy a separate, reconstructable interpretation layer derived from signed, versioned knowledge rules; they can be recomputed when knowledge changes without rewriting clinical facts. Retrieval follows authorized structural and clinical edges, resolves amendments and retractions, and reports policy or token truncation. An open-source Go implementation uses append-only Pods and reconstructable SQLite projections. File-based conversion of 1,135 synthetic Synthea FHIR bundles produced approximately one million Beads and demonstrated deterministic clinical-link derivation and interpretation-layer reconstruction. These engineering results establish feasibility and reproducibility, not reduced hallucination or improved clinical outcomes. MedBeads reframes grounding as a data-structure problem by delivering a policy-bounded, provenance-bearing clinical subgraph rather than an opaque list of similar fragments.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。