TERMon 硬件原生运行时监控器用于边缘 AI 持久行为威胁检测
TERMon: Detecting Persistent Behavioral Threats in Edge AI via Hardware-Native Ternary Runtime Monitor
朋友,DeepSeek 的研究团队搞了个叫 TERMon 的东西,是个硬件监控器,能在边缘 AI 上实时检测模型行为异常,挺实用的。
这篇论文提出 TERMon,一种轻量级硬件运行时监控器,用于在边缘 AI 加速器上检测持久行为威胁。它通过观察推理行为而非重新执行或形式验证模型来检测异常。TERMon 将类条件信任行为表示为硬件高效的二进制模式,在 PYNQ-Z2 FPGA 上实现,具有两周期决策延迟。
TERMon: Detecting Persistent Behavioral Threats in Edge AI via Hardware-Native Ternary Runtime Monitor
Edge AI accelerators are increasingly deployed in safety-critical environments, where model outputs may control physical actuators, make access-control decisions, or trigger alarms. In these settings, runtime failures often remain undetected because model corruption, distribution shift, and adversarial inputs can still produce well-formed, confident predictions. This paper presents TERMon, a lightweight hardware runtime monitor that detects such anomalies by observing inference behavior rather than re-executing or formally verifying the model. TERMon represents class-conditional trusted behavior as hardware-efficient ternary patterns that are matched in parallel against a thermometer-encoded fingerprint. The ternary encoding reproduces the corresponding unquantized range decision exactly. TERMon detects harmful weight corruptions in proportion to their behavioral impact, while out-of-distribution and adversarial inputs are largely not separable using the monitored features at a strict false-positive operating point. We implemented TERMon on a PYNQ-Z2 FPGA, and the pipelined design requires no on-chip block RAM or DSPs and has a two-cycle decision latency.