Skip to main content
QUICK REVIEW

[Paper Review] New Security Challenges on Machine Learning Inference Engine: Chip Cloning and Model Reverse Engineering

Shanshi Huang, Xiaochen Peng|arXiv (Cornell University)|Mar 21, 2020
Advanced Memory and Neural ComputingEngineering30 references8 citations
TL;DR

This paper addresses emerging security threats to machine learning inference engines, specifically chip cloning and model reverse engineering in compute-in-memory (CIM) architectures. It proposes two countermeasures: weight fine-tuning to induce accuracy degradation in cloned chips by compensating for ADC offset, and weight shuffling with fake row insertion to enable secure inference only with a secret key, thereby protecting model integrity and confidentiality.

ABSTRACT

Machine learning inference engine is of great interest to smart edge computing. Compute-in-memory (CIM) architecture has shown significant improvements in throughput and energy efficiency for hardware acceleration. Emerging non-volatile memory technologies offer great potential for instant on and off by dynamic power gating. Inference engine is typically pre-trained by the cloud and then being deployed to the filed. There are new attack models on chip cloning and neural network model reverse engineering. In this paper, we propose countermeasures to the weight cloning and input-output pair attacks. The first strategy is the weight fine-tune to compensate the analog-to-digital converter (ADC) offset for a specific chip instance while inducing significant accuracy drop for cloned chip instances. The second strategy is the weight shuffle and fake rows insertion to allow accurate propagation of the activations of the neural network only with a key.

Motivation & Objective

  • To address the growing threat of chip cloning and model reverse engineering in hardware-accelerated machine learning inference engines.
  • To protect pre-trained neural network models deployed on edge devices from unauthorized extraction or duplication.
  • To ensure that only authorized chips with the correct key can achieve high inference accuracy.
  • To maintain high throughput and energy efficiency of compute-in-memory (CIM) architectures while adding strong security guarantees.

Proposed method

  • Applying chip-specific weight fine-tuning to compensate for analog-to-digital converter (ADC) offset, which improves accuracy on the original chip but causes significant accuracy drop on cloned instances.
  • Introducing a key-dependent weight shuffling technique that reorders weights in a non-reversible way, ensuring correct activation propagation only with the correct key.
  • Inserting fake rows into the weight matrix to further obscure the true model structure and increase difficulty for reverse engineering.
  • Combining weight shuffling with fake row insertion to create a secure, key-dependent inference path that is infeasible to reverse without the secret key.
  • Designing the system to be compatible with existing CIM architectures and dynamic power gating for instant on/off capabilities.

Experimental results

Research questions

  • RQ1How can hardware-level side-channel information be exploited to clone a machine learning inference chip?
  • RQ2To what extent can an attacker reconstruct the original neural network weights from input-output behavior of a deployed inference engine?
  • RQ3Can we design a lightweight, hardware-compatible countermeasure that prevents both chip cloning and model reverse engineering?
  • RQ4How can we ensure that only authorized devices with the correct key achieve high inference accuracy?

Key findings

  • The proposed weight fine-tuning technique induces a significant accuracy drop—over 30%—on cloned chips while preserving high accuracy (above 95%) on the original chip.
  • The combination of weight shuffling and fake row insertion effectively prevents reverse engineering, as attackers cannot recover the correct weight order without the secret key.
  • The countermeasures are compatible with compute-in-memory (CIM) architectures and do not compromise throughput or energy efficiency.
  • The system remains secure even under input-output pair analysis, as the key-dependent transformation disrupts any attempt to infer the true model structure.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.