研究人员发现,自 2022 年发布的 macOS 13 起,苹果 Mac 设备内置了两个守护进程(knowledgeconstructiond),专门用于构建包含用户及其社交关系的“个人知识图谱”,该数据随后被 Apple Intelligence 功能使用 1。尽管苹果曾发布相关论文,但缺乏关于数据收集和推断机制的详细文档 1。这一机制适用于所有搭载 Intel 或 Apple silicon 芯片的设备,其核心数据存储在 ~/Library/IntelligencePlatform 路径下,包含 51 个明文 SQLite 数据库 1。其中关键文件 graph.db 是一个三元组存储库,定义了 181 个实体类和 278 个谓词 1。
为了深入理解系统如何推断家庭关系,研究团队指出系统利用 XGBoost 分类器分析了 144 个特征,例如名为 photosPersonPosteriorProbabilityGivenSaturdayNight 的特征参数 1。值得注意的是,用户在系统中删除联系人并不会彻底清除相关数据,而是将记录移至 expired_stable_graph 表中,同时保留置信度和来源信息 1。针对这一隐私黑盒问题,Dario Pasquini 和 Michał Bazyli 组成的研究团队开源了名为 iKnow 的本地仪表盘工具 1。该工具允许用户直接查看存储在 SQLite 数据库中的具体关系、行为预测以及隐私敏感信息,从而实现对个人知识图谱内容的可视化浏览 1。
Since macOS 13, released in 2022, Apple has included two background daemons on every Mac that construct a "personal knowledge graph" detailing users and their social relationships 1. This data is stored in plaintext SQLite databases within the ~/Library/IntelligencePlatform directory and feeds into Apple Intelligence features 1. The core file, graph.db, functions as a triple store containing 181 entity classes and 278 predicates 1.
To infer specific connections such as family ties, the system employs an XGBoost classifier that analyzes 144 distinct features, including metrics like photosPersonPosteriorProbabilityGivenSaturdayNight 1. Despite Apple publishing related academic papers, detailed documentation regarding the data collection and inference mechanisms has remained unavailable to the public 1. Researchers Dario Pasquini and Michał Bazyli have now developed and open-sourced a local dashboard tool called iKnow, which allows users to visualize the stored relationships, behavioral predictions, and privacy-sensitive information within these graphs 1. Notably, deleting contacts does not permanently erase associated records; instead, they are moved to an expired_stable_graph table where confidence levels and sources are preserved 1. These findings apply to all Mac devices running macOS 13 or later, regardless of whether they use Intel or Apple silicon chips 1.
评论
还没有评论,欢迎留下第一条。