Table of Contents
Fetching ...

Explainability Methods for Hardware Trojan Detection: A Systematic Comparison

Paul Whitten, Francis Wolff, Chris Papachristou

TL;DR

This study systematically compares domain-aware, case-based, and model-agnostic explainability approaches for gate-level hardware Trojan detection on the Trust-Hub benchmark. Using an XGBoost detector with extreme class imbalance, the authors show that domain-aligned property explanations and precedent-based case-based explanations offer practical interpretability advantages, while generic LIME/SHAP/gradient attributions provide mathematical rigor but lack circuit-level context. Optimizing the decision threshold yields a nine-fold gain in precision and a substantial increase in recall, with false positives dramatically reduced relative to a historic baseline. The findings advocate hybrid XAI workflows that leverage domain-aware explanations for validation and remediation, complemented by efficient, model-agnostic attributions when appropriate, to support real-world deployment in security-critical hardware contexts.

Abstract

Hardware trojan detection requires accurate identification and interpretable explanations for security engineers to validate and act on results. This work compares three explainability categories for gate-level trojan detection on the Trust-Hub benchmark: (1) domain-aware property-based analysis of 31 circuit-specific features from gate fanin patterns, flip-flop distances, and I/O connectivity; (2) case-based reasoning using k-nearest neighbors for precedent-based explanations; and (3) model-agnostic feature attribution (LIME, SHAP, gradient). Results show different advantages per approach. Property-based analysis provides explanations through circuit concepts like "high fanin complexity near outputs indicates potential triggers." Case-based reasoning achieves 97.4% correspondence between predictions and training exemplars, offering justifications grounded in precedent. LIME and SHAP provide feature attributions with strong inter-method correlation (r=0.94, p<0.001) but lack circuit-level context for validation. XGBoost classification achieves 46.15% precision and 52.17% recall on 11,392 test samples, a 9-fold precision improvement over prior work (Hasegawa et al.: 5.13%) while reducing false positive rates from 5.6% to 0.25%. Gradient-based attribution runs 481 times faster than SHAP but provides similar domain-opaque insights. This work demonstrates that property-based and case-based approaches offer domain alignment and precedent-based interpretability compared to generic feature rankings, with implications for XAI deployment where practitioners must validate ML predictions.

Explainability Methods for Hardware Trojan Detection: A Systematic Comparison

TL;DR

This study systematically compares domain-aware, case-based, and model-agnostic explainability approaches for gate-level hardware Trojan detection on the Trust-Hub benchmark. Using an XGBoost detector with extreme class imbalance, the authors show that domain-aligned property explanations and precedent-based case-based explanations offer practical interpretability advantages, while generic LIME/SHAP/gradient attributions provide mathematical rigor but lack circuit-level context. Optimizing the decision threshold yields a nine-fold gain in precision and a substantial increase in recall, with false positives dramatically reduced relative to a historic baseline. The findings advocate hybrid XAI workflows that leverage domain-aware explanations for validation and remediation, complemented by efficient, model-agnostic attributions when appropriate, to support real-world deployment in security-critical hardware contexts.

Abstract

Hardware trojan detection requires accurate identification and interpretable explanations for security engineers to validate and act on results. This work compares three explainability categories for gate-level trojan detection on the Trust-Hub benchmark: (1) domain-aware property-based analysis of 31 circuit-specific features from gate fanin patterns, flip-flop distances, and I/O connectivity; (2) case-based reasoning using k-nearest neighbors for precedent-based explanations; and (3) model-agnostic feature attribution (LIME, SHAP, gradient). Results show different advantages per approach. Property-based analysis provides explanations through circuit concepts like "high fanin complexity near outputs indicates potential triggers." Case-based reasoning achieves 97.4% correspondence between predictions and training exemplars, offering justifications grounded in precedent. LIME and SHAP provide feature attributions with strong inter-method correlation (r=0.94, p<0.001) but lack circuit-level context for validation. XGBoost classification achieves 46.15% precision and 52.17% recall on 11,392 test samples, a 9-fold precision improvement over prior work (Hasegawa et al.: 5.13%) while reducing false positive rates from 5.6% to 0.25%. Gradient-based attribution runs 481 times faster than SHAP but provides similar domain-opaque insights. This work demonstrates that property-based and case-based approaches offer domain alignment and precedent-based interpretability compared to generic feature rankings, with implications for XAI deployment where practitioners must validate ML predictions.
Paper Structure (49 sections, 2 equations, 3 figures, 1 table)

This paper contains 49 sections, 2 equations, 3 figures, 1 table.

Figures (3)

  • Figure 1: Trojan circuit taxonomy4484928.
  • Figure 2: Confidentiality rare event hardware trojan model.
  • Figure 3: Traditional AI interactions contrasted to XAI.