Anatomy of Apple's Personal Knowledge Graph
- ID: 5ec03af4
- 原文链接: https://8rank.ai/game/apple-intelligence-personal-knowledge-graph
- 作者: Dario Pasquini、Michał Bazyli(Eighth Rank)
- 日期: 2026-10-28
- 平台: 8rank.ai(the Eighth Rank)
- 分类: models
- 来源类型: blog
- 标签: apple, privacy, knowledge-graph, on-device, apple-intelligence
- 质量评分: 4/5
- 抓取时间: 2026-11-08T20:23:53Z
中文导读
从 macOS 13 起,每台 Mac 都内置一对守护进程(knowledgeconstructiond 与 intelligenceplatformd),交叉分析通讯录、日历、照片、信息、邮件、定位、屏幕使用时间等端上信号,构建并持续更新一张"你是谁、你认识谁、如何交流、去过哪、做过什么"的个人知识图谱。作者逆向了这套系统:数据存于 ~/Library/IntelligencePlatform 下 51 个明文 SQLite 库(位于 TCC 全盘访问保护区内);核心 graph.db 是三元组存储,词表含 181 个实体类与 278 个谓词,ontology.db 负责解码谓词码;判定家人朋友的 EntityTagging_FamilyAndFriends 读 144 个特征,分三块——20 个身份、40 个按星期/时段条件化的通讯模式、84 个共同出现照片(如 photosPersonPosteriorProbabilityGivenSaturdayNight)。删除语义也值得注意:live 图会"遗忘",被撤回的行进入 expired_stable_graph 保留置信度与来源,约 48 小时后被清理。作者开源了查看自己图谱的本地仪表盘 iKnow,并做了"隐私单点故障 + 去审查 LLM"的攻击思想实验。
为什么值得关注
这是把 Apple Intelligence 个性化底座第一次公开拆开看的分析:官方文档几乎只有一页 man page,forensics 社区(iLEAPP)今年 9 月才学会读 iOS 侧同一存储。对端上个性化 AI 生态,这张图谱是 LLM 检索的底座数据,隐私含义直接;文章把讨论从"收集了什么"推进到"被滥用时会发生什么"(知识库落入攻击者手中、与去审查 LLM 组合的威胁场景),并强调结论适用于任何同类个性化助手系统。对做端上 agent、个性化记忆系统或 macOS 安全的人都是一手参考。
关键信息
- 文章标题: Anatomy of Apple's Personal Knowledge Graph
- 作者: Dario Pasquini、Michał Bazyli(Eighth Rank)
- 原文链接: https://8rank.ai/game/apple-intelligence-personal-knowledge-graph
- 发布时间: 2026-10-28
- 分析环境: macOS 26(26.6.2,build 25G83)
- 关联标签: apple, privacy, knowledge-graph, on-device, apple-intelligence
关键原文摘录(English)
- man 8 knowledgeconstructiond(macOS 26.6.2): "knowledgeconstructiond – A daemon that analyzes content on the device to build a general purpose knowledge graph."
- "The two daemons keep their work in ~/Library/IntelligencePlatform, a directory of SQLite databases (fifty-one databases) stored in plaintext but located in a zone protected by TCC Full Disk Access."
- "It is a triple store written in a vocabulary of 181 entity classes and 278 predicates: every row is a subject, a predicate and an object."
- "photosPersonPosteriorProbabilityGivenSaturdayNight is a shipped feature name in a shipped classifier whose job is deciding whether someone is family."
- "Delete a contact and nothing re-derives them; the next run replaces the table wholesale. But the store keeps a second table, expired_stable_graph, beside the live one."
English Summary
Reverse-engineering write-up of the personal knowledge graph every Mac ships since macOS 13: daemons such as knowledgeconstructiond analyze on-device content — Contacts, Calendar, Photos, Messages, Mail, location, Screen Time, and a long tail of behavioral signals — to build and continuously update a graph of who you are, who you know, and how you communicate, move, and act. The graph lives on device as a queryable store that Apple Intelligence LLMs retrieve from, with little public documentation beyond the man page. The authors classify it under privacy/personalized AI affecting macOS 13+, and release iKnow, an inspection tool for peeking into your own graph.
Obsidian Notes
opencli web read与 Hermes web_extract 均拒绝该 URL,最终用 curl 抓取页面并提取正文,正文为静态渲染内容、提取完整。- 中文导读与价值判断锚定在原文全文与条目已有摘要上;未补充原文之外的细节。