Tessera:用于UMA边缘加速器的安全近线率权重流
Tessera: Secure, Near-Line-Rate Weight Streaming for UMA Edge Accelerators
AI总结:
Tessera通过在UMA边缘加速器上实现缓存行粒度的权重解密,解决了传统防御方法在受限环境下的不足,实现了接近理论内存带宽上限的性能,同时有效抵御多种攻击。
摘要:
在通用边缘设备上部署专有深度神经网络(DNN)需要硬件支持的数字版权管理(DRM),以抵御软件和物理攻击者。在统一内存架构(UMA)系统中,主机CPU和神经处理单元(NPU)共享物理DRAM,使明文模型权重可以直接被受感染的操作系统内核读取。现有防御措施在受限环境中失效:可信执行环境垄断稀缺内存,而全内存加密以页面粒度操作。这迫使系统获取大量4KB内存页面以加载子页面张量瓷砖,严重阻碍带宽。我们提出了Tessera,一种用于UMA边缘加速器的参考架构,实现内联、缓存行粒度的权重解密。设计拦截64字节AXI突发,并行计算AES-256-CTR密钥流与DRAM获取。这将明文直接流式传输到隔离的NPU SRAM,创建一个仅限于活跃瓷砖的临时内存足迹,消除了对永久内存 carve-outs 的需求。在三个不同的SoC平台上的测量表明,这种并行化将加密延迟隐藏在标准DRAM获取时间背后,即使在最坏情况的时间变化下也成立。因此,Tessera预计可以达到理论内存带宽上限的98.4%(仅1.6%的开销)。在标准视觉和语言模型中,页面级内存加密导致高达32倍的带宽惩罚,而Tessera在所有层几何形状上保持最优的1x足迹。最后,Tessera中和了主要的UMA特定攻击向量——包括物理DRAM提取、恶意DMA和计算劫持——并正式防止了稀疏张量中的明文泄漏。
英文摘要:
Deploying proprietary Deep Neural Networks (DNNs) on commodity edge devices demands hardware-backed Digital Rights Management (DRM) capable of withstanding both software-level and physical adversaries. In Unified Memory Architecture (UMA) systems, the host CPU and Neural Processing Unit (NPU) share physical DRAM, leaving plaintext model weights directly readable by a compromised OS kernel. Existing defenses fail in this constrained setting: trusted execution environments monopolize scarce memory with permanently reserved regions, while full-memory encryption operates at page granularity. This forces the system to fetch massive 4 KB memory pages for sub-page tensor tiles, severely crippling bandwidth. We present Tessera, a reference architecture for inline, cache-line granularity weight decryption on UMA edge accelerators. The design intercepts 64-byte AXI bursts, computing AES-256-CTR keystreams in parallel with DRAM fetches. This streams plaintext directly into isolated NPU SRAM, creating a transient memory footprint confined to the active tile and eliminating the need for permanent memory carve-outs. Measurements across three distinct SoC platforms demonstrate that this parallelization hides cryptographic latency behind standard DRAM fetch times, a condition that holds even under worst-case timing variations. Consequently, Tessera is projected to achieve 98.4\% of the theoretical memory bandwidth ceiling (a mere 1.6\% overhead). Across standard vision and language models, page-level memory encryption suffers up to a 32x bandwidth penalty, whereas Tessera maintains an optimal 1x footprint for all layer geometries. Finally, Tessera neutralizes major UMA-specific attack vectors -- including physical DRAM extraction, rogue DMA, and compute hijacking -- and formally prevents plaintext leakage across sparse tensors.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。