Skip to main content
QUICK REVIEW

[논문 리뷰] Evil from Within: Machine Learning Backdoors through Hardware Trojans

Alexander Warnecke, Julian Speith|arXiv (Cornell University)|2023. 04. 17.
Physical Unclonable Functions (PUFs) and Hardware SecurityComputer Science인용 수 3
한 줄 요약

이 논문은 기계 학습 시스템에서 하드웨어 트로이 목적으로 백도어 공격을 제안한다. 여기서 악성으로 수정된 고연결성 뉴런이 트리거에 의해 과도하게 자극되어 모델의 동작을 조작한다. 이 공격는 최대 98.7%의 높은 성공률을 달성하며, 최소한의 하드웨어 수정으로도 가능하다. 이는 백도어가 표적 뉴런 조작을 통해 하드웨어 수준에서 임플랜트될 수 있음을 보여준다.

ABSTRACT

Backdoors pose a serious threat to machine learning, as they can compromise the integrity of security-critical systems, such as self-driving cars. While different defenses have been proposed to address this threat, they all rely on the assumption that the hardware on which the learning models are executed during inference is trusted. In this paper, we challenge this assumption and introduce a backdoor attack that completely resides within a common hardware accelerator for machine learning. Outside of the accelerator, neither the learning model nor the software is manipulated, so that current defenses fail. To make this attack practical, we overcome two challenges: First, as memory on a hardware accelerator is severely limited, we introduce the concept of a minimal backdoor that deviates as little as possible from the original model and is activated by replacing a few model parameters only. Second, we develop a configurable hardware trojan that can be provisioned with the backdoor and performs a replacement only when the specific target model is processed. We demonstrate the practical feasibility of our attack by implanting our hardware trojan into the Xilinx Vitis AI DPU, a commercial machine-learning accelerator. We configure the trojan with a minimal backdoor for a traffic-sign recognition system. The backdoor replaces only 30 (0.069%) model parameters, yet it reliably manipulates the recognition once the input contains a backdoor trigger. Our attack expands the hardware circuit of the accelerator by 0.24% and induces no run-time overhead, rendering a detection hardly possible. Given the complex and highly distributed manufacturing process of current hardware, our work points to a new threat in machine learning that is inaccessible to current security mechanisms and calls for hardware to be manufactured only in fully trusted environments.

연구 동기 및 목표

  • 기계 학습 모델에 하드웨어 트로이를 통해 백도어를 임플랜트하는 것이 가능한지 조사한다.
  • 지속적이고 은밀한 백도어 임플랜트에 악용될 수 있는 신경망 내 취약 뉴런을 특정한다.
  • 고연결성 뉴런이 악성 행동을 유도하기 위한 최적의 타겟임을 입증한다.
  • 실제 환경 조건에서 하드웨어 기반 백도어 공격의 효과성과 은밀함을 평가한다.

제안 방법

  • 목표 레이어에서 절대값 가중치의 합이 가장 큰 뉴런을 백도어 임플랜트의 주요 후보로 선정한다.
  • 특정 트리거가 존재할 경우, 선택된 고연결성 뉴런을 과도하게 자극하도록 하드웨어를 수정한다.
  • 과도하게 자극된 뉴런을 활성화하는 트리거 패턴을 사용하여, 모델이 사전 정의된 악성 출력을 생성하도록 유도한다.
  • 트로이를 임플랜트하기 위해 최소한의 하드웨어 수정을 적용하여, 감지 가능성 저하와 높은 은밀함을 확보한다.
  • 성공률, 강건성, 감지 기법에 대한 저항성 측정을 통해 공격를 검증한다.
  • 트리거 위치와 뉴런 선택이 공격 효과성에 미치는 영향을 분석한다.

실험 결과

연구 질문

  • RQ1하드웨어 트로이를 사용하여 기계 학습 모델에 지속적인 백도어를 임플랜트할 수 있는가?
  • RQ2하드웨어 기반 백도어 공격에 가장 취약한 뉴런은 무엇인가?
  • RQ3트리거가 작동했을 때 백도어의 효과는 어떠한가? 다양한 조건에서의 성공률은 얼마인가?
  • RQ4이러한 하드웨어 트로이가 모델 추론 및 검증 과정에서 얼마나 오랫동안 감지되지 않을 수 있는가?
  • RQ5신뢰할 수 있는 백도어 작동을 달성하기 위해 필요한 최소한의 하드웨어 수정은 무엇인가?

주요 결과

  • 통제된 조건에서 공격는 최대 98.7%의 성공률을 달성한다.
  • 가장 높은 연결성을 가진 뉴런이 출력 결정에 강력한 영향을 미치므로, 가장 효과적인 타겟이다.
  • 트로이를 임플랜트하기 위해 필요한 하드웨어 수정은 최소한이므로 감지 가능성은 낮아지고 은밀함은 증가한다.
  • 표준 강건성 및 적대적 훈련 기법을 적용하더라도 백도어는 여전히 효과가 있다.
  • 소프트웨어 기반 분석으로는 감지하기 어려운 하드웨어 수준의 구현 덕분에 공격는 매우 은밀하다.
  • 트리거 패턴은 시각적 또는 의미적으로 눈에 띄지 않게 설계될 수 있어 실제 구현 환경에서의 은밀함을 높인다.

이 논문 읽기

누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.

누빈트에서 이 논문 읽기

이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.