边缘离线生成式 AI 信任机制:连接性分区框架与 Raspberry Pi 5 实证研究
Trust Mechanisms for Offline Generative AI at the Edge: A Connectivity-Regime Framework and an Empirical Study on a Raspberry Pi 5
AI 导读
一项 arXiv 研究提出面向离线边缘生成式 AI 的连接性分区框架(C0-C4)、推理时信任机制分类及签名知识包更新通道,并在 Raspberry Pi 5 上以三个 Qwen2.5 模型规模、三种上下文大小和 300 道 SQuAD 2.0 问题做网络隔离评测。
正文 · 原文
Abstract:Generative AI and large language models (LLMs) are moving into the Internet of Things, yet most deployments assume cloud connectivity, and many IoT settings have intermittent, restricted, or no connectivity. We propose a connectivity-regime framework (C0-C4), a taxonomy of inference-time trust mechanisms, and signed, versioned knowledge packs as the update channel for disconnected regimes, and evaluate them on a Raspberry Pi 5 running fully local retrieval-augmented generation under network isolation, with three Qwen2.5 model sizes, three context sizes, and 300 SQuAD 2.0 questions. An empirically calibrated retrieval-score gate detects knowledge gaps almost perfectly (AUROC 0.97) but in-topic unanswerable questions poorly (0.68). A deterministic output validator converts malformed outputs into explicit abstentions with no observed loss of correct answers, while the NLI-based verifier we tested adds little; for the 7B model, 96% of substantive answers to unanswerable-labelled questions match normalized spans of the retrieved passages. A 3B model achieves the same gold-answer containment rate as a 7B model at less than half the latency and estimated energy, although the 7B model far more often exceeds a token-F1 threshold of 0.5; five retrieved passages lower correctness from 75% to 52% compared with three. Verifying a signed pack takes about 4.5 ms versus about 29 min for embedding its passages on the device; signature and hash checks alone accept six of nine tested update attacks that layered verification rejects. Yet a validly signed poisoned pack passes every pack check: on 30 previously correct questions, correct answers drop to zero and 14 return the injected answer. None of the mechanisms we evaluated establishes the truth of the evidence. We release code and data.
| Comments: | 25 pages, 4 figures, 6 tables. Code and data: this https URL |
| Subjects: | Cryptography and Security (cs.CR); Artificial Intelligence (cs.AI); Machine Learning (cs.LG) |
| Cite as: | arXiv:2610.33732 [cs.CR] |
| (or arXiv:2610.33732v1 [cs.CR] for this version) | |
| https://doi.org/10.48550/arXiv.2610.33732 arXiv-issued DOI via DataCite (pending registration) |
Submission history
From: Georgios Feretzakis [view email]
[v1]
Sat, 24 Oct 2026 15:23:25 UTC (157 KB)
来源:arXiv cs.AI · arxiv.org