Trust mechanisms for edge offline generative AI: a connectivity state classification framework and an empirical study on Raspberry Pi 5Trust Mechanisms for Offline Generative AI at the Edge: A Connectivity-Regime Framework and an Empirical Study on a Raspberry Pi 5
Translation in progress — untranslated text is omitted.
Researchers evaluated trust mechanisms for offline generative AI on a Raspberry Pi 5 using fully local RAG under network isolation, proposed a C0-C4 connectivity state classification framework, and used signed versioned knowledge packs as the update channel for disconnected scenarios; the experiments covered three Qwen2.5 model sizes, three context lengths and 300 SQuAD 2.0 questions. The empirically calibrated retrieval score gating detected knowledge gaps with an AUROC of 0.97, but only 0.68 for unanswerable questions within the topic; the deterministic output validator could convert malformed outputs into explicit abstentions with no observed loss of correct answers, and the tested NLI validator showed very small gains. Verifying a signed knowledge pack took about 4.5 ms, while embedding its passages on the device took about 29 minutes; signature and hash checks alone would let six of nine update attacks through, and layered verification could reject these attacks, but a poisoned knowledge pack with a valid signature could still pass all pack checks, reducing the correct answers for 30 originally correct questions to zero and causing 14 to return injected answers. The authors note that none of the evaluated mechanisms can guarantee evidence authenticity, and have released code and data.
- Many IoT scenarios (maritime, disaster response, industrial, defense) have intermittent or fully disconnected connectivity, so cloud deployment models fail; the authors argue that how to make a disconnected local generative assistant trustworthy, and how costly trust mechanisms are on edge hardware, had previously been largely unmeasured.
- Proposes a C0–C4 connectivity-state classification framework, a taxonomy of inference-time trust mechanisms, and signed versioned knowledge packages as an update channel for disconnected environments; runs Qwen2.5 (1.5B/3B/7B) local RAG on a Raspberry Pi 5 with network namespace isolation, evaluates self-abstention, output validation, retrieval score gating, and NLI entailment verification with 300 SQuAD 2.0 questions, and tests 11 update packages and 1 validly signed poisoned package.
- Retrieval-score gating identifies out-of-corpus questions with AUROC 0.97 and in-corpus unanswerable questions with only 0.68; the deterministic output validator lowers the 1.5B answered risk from 0.81 to 0.46 without losing correct answers; 3B and 7B have the same lenient accuracy of 75% but less than half the latency and energy; signature+hash alone lets through 6 of 9 update attacks, while the layered verifier rejects all; a poisoned pack with a valid signature passes all checks, and the number of correctly answered target questions drops to 0 out of 30.
- The authors note that the study uses only a single device, a single model family, a single English dataset, and 100 questions per condition, and that labels were not re-checked against the full corpus; the NLI verifier is limited by rewriting rules and the small model; the poisoning experiment has only 30 targets and uses templated passages; network isolation uses namespaces rather than a physical air gap; signing keys are generated on the device, unlike real deployments.