TERMon detects weight corruptions but cannot separate OOD or adversarial inputs
TERMon can reliably detect harmful model weight corruptions by monitoring ternary runtime patterns
AI/ML arXiv 18 Sep 2026 Method Prototype evidence
Published as “TERMon: Detecting Persistent Behavioral Threats in Edge AI via Hardware-Native Ternary Runtime Monitor”
Why it matters
TERMon offers a low-cost, deterministic hardware guardrail for persistent weight-faults in edge AI, but cannot replace dedicated OOD or adversarial defenses.
Summary
TERMon reliably detects weight-faults that degrade model accuracy, flagging 66.5-100% of inferences for harmful corruptions while keeping the false-positive rate near 1% for benign cases (average detection 88.1%). The ternary TCAM-compatible encoding does not hurt detection, matching an unquantized range test. However, per-input out-of-distribution and adversarial inputs are largely invisible at the 1% false-positive operating point, with detection rates of only 13.6% for SVHN and 16.1% for PGD attacks.
What they found 6
- Weight-fault detection is impact-proportional and maintains low false-positives for benign corruptions.
“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.”
- Harmful corruptions (49.6-73.7 pp accuracy loss) are flagged on 66.5-100 % of inferences, averaging 88.1 % detection.
“The remaining ten corrupted models reduce accuracy by 49.6 to 73.7 percentage points and are flagged on 66.5-100% of inferences, with a mean detection rate of 88.1%.”
- Ternary encoding matches unquantized range testing, achieving comparable detection to a Mahalanobis baseline.
“TERMon achieves 66.5% per-inference detection, compared with 66.4% for the reference detector.”
- OOD and adversarial detection remain low: 13.6 % of SVHN and 16.1 % of successful PGD examples are flagged.
“It detects 13.6% of SVHN inputs against 4.9%, and 16.1% of successful PGD examples against 2.5%.”
- Reliable per-input OOD detection is not achieved at the 1 % false-positive point.
“The results show that reliable per-input OOD detection is not achieved for this model and feature set at a 1% false-positive operating point.”
- The authors do not claim adversarial robustness.
“We do not claim adversarial robustness.”
Caveats 5
- Detection of OOD inputs is only 13.6 % (SVHN) and 4.9 % (Mahalanobis reference) at the 1 % false-positive budget.
- Adversarial PGD detection is 16.1 % and FGSM detection is only 1.3 %, indicating limited adversarial coverage.
- Even for heavy fault injection, per-inference detection caps at 66.5 %, not 100 %.
- The results show that reliable per-input OOD detection is not achieved for this model and feature set at a 1% false-positive operating point.
- We do not claim adversarial robustness.
What’s new here 4
- Implements a hardware-native ternary range monitor using TCAM-compatible encoding with no BRAM or DSP usage.
- Provides impact-proportional detection of weight-faults, flagging only behavior-changing corruptions while preserving a low false-positive rate.
- Introduces a sequential aggregation rule to detect persistent anomalies over multiple inferences.
- Separates encoding limits from feature limits in the evaluation to guide design choices.