CRAILGMar 10, 2025

Runtime Detection of Adversarial Attacks in AI Accelerators Using Performance Counters

arXiv:2503.07568v12 citationsh-index: 53
Originality Incremental advance
AI Analysis

This addresses security concerns for AI hardware users by providing real-time detection of adversarial attacks, though it is incremental as it builds on hardware monitoring techniques.

The paper tackles the problem of detecting adversarial attacks on AI hardware by proposing SAMURAI, a framework that uses performance counters and an on-chip ML engine, achieving up to 97% accuracy in detection with moderate overhead.

Rapid adoption of AI technologies raises several major security concerns, including the risks of adversarial perturbations, which threaten the confidentiality and integrity of AI applications. Protecting AI hardware from misuse and diverse security threats is a challenging task. To address this challenge, we propose SAMURAI, a novel framework for safeguarding against malicious usage of AI hardware and its resilience to attacks. SAMURAI introduces an AI Performance Counter (APC) for tracking dynamic behavior of an AI model coupled with an on-chip Machine Learning (ML) analysis engine, known as TANTO (Trained Anomaly Inspection Through Trace Observation). APC records the runtime profile of the low-level hardware events of different AI operations. Subsequently, the summary information recorded by the APC is processed by TANTO to efficiently identify potential security breaches and ensure secure, responsible use of AI. SAMURAI enables real-time detection of security threats and misuse without relying on traditional software-based solutions that require model integration. Experimental results demonstrate that SAMURAI achieves up to 97% accuracy in detecting adversarial attacks with moderate overhead on various AI models, significantly outperforming conventional software-based approaches. It enhances security and regulatory compliance, providing a comprehensive solution for safeguarding AI against emergent threats.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes