AttestLLM: 亿级参数本地设备LLM的高效认证框架
AttestLLM: Efficient Attestation Framework for Billion-scale On-device LLMs
AI总结:
AttestLLM通过算法/软件/硬件协同设计,为本地设备LLM提供高效认证框架,确保模型合法性并抵御替换和伪造攻击。
摘要:
随着本地设备LLM(例如苹果本地智能)被广泛采用以减少网络依赖、提升隐私和增强响应速度,验证本地设备上运行模型的合法性变得至关重要。现有的认证技术不适用于十亿参数的大型语言模型(LLM),难以在保持时间和内存效率的同时应对LLM时代出现的新威胁。本文提出了AttestLLM,首个针对保护设备厂商硬件层面知识产权(IP)的认证框架,通过确保只有经过授权的LLM才能在目标平台上执行。AttestLLM采用算法/软件/硬件协同设计方法,将强健的水印签名嵌入到LLM构建块的激活分布中。它还优化了在可信执行环境(TEE)内的认证协议,提供高效的验证而不影响推理吞吐量。在对LLama、Qwen和Phi家族的LLM进行本地使用案例的广泛概念验证评估中,证明了AttestLLM在认证可靠性、保真度和效率方面的表现。此外,AttestLLM强制执行模型合法性,并对模型替换和伪造攻击表现出抗性。
英文摘要:
As on-device LLMs(e.g., Apple on-device Intelligence) are widely adopted to reduce network dependency, improve privacy, and enhance responsiveness, verifying the legitimacy of models running on local devices becomes critical. Existing attestation techniques are not suitable for billion-parameter Large Language Models (LLMs), struggling to remain both time- and memory-efficient while addressing emerging threats in the LLM era. In this paper, we present AttestLLM, the first-of-its-kind attestation framework to protect the hardware-level intellectual property (IP) of device vendors by ensuring that only authorized LLMs can execute on target platforms. AttestLLM leverages an algorithm/software/hardware co-design approach to embed robust watermarking signatures onto the activation distributions of LLM building blocks. It also optimizes the attestation protocol within the Trusted Execution Environment (TEE), providing efficient verification without compromising inference throughput. Extensive proof-of-concept evaluations on LLMs from Llama, Qwen, and Phi families for on-device use cases demonstrate AttestLLM's attestation reliability, fidelity, and efficiency. Furthermore, AttestLLM enforces model legitimacy and exhibits resilience against model replacement and forgery attacks.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。