EDGE AI POD

Got Fake Chips? Our AI Doesn't Fall For That

EDGE AI FOUNDATION

Use Left/Right to seek, Home/End to jump to start or end. Hold shift to jump forward or backward.

0:00 | 9:44

Semiconductor counterfeiting has grown into a $200 billion annual problem threatening the integrity of global electronics supply chains. As both chip shortages and sophisticated counterfeiting techniques persist, traditional detection methods fall short—requiring complex setups, hardware modifications, or extensive data labeling.

Two machine learning engineers from Analog Devices' advanced R&D team unveil their elegant solution: an unsupervised learning approach that captures the unique "fingerprints" of authentic chips by analyzing power signatures during memory operations. What makes their method revolutionary is its lightweight footprint (under 60KB) and ability to run directly on standard Cortex-M4 microcontrollers at the edge, requiring no cloud connectivity or specialized equipment.

The team shares their methodology for creating a robust dataset of 1,000 secure authenticator chips and developing a convolutional autoencoder architecture that achieved 100% accuracy in distinguishing authentic components from close counterparts. Their model learns the normal reconstruction patterns of legitimate chips, then flags anomalies when encountering counterfeits with distinctly different power signatures.

Beyond secure authenticators, this approach proves universally applicable to any semiconductor from which analog fingerprints can be collected. Rather than replacing traditional cryptographic methods, it serves as an additional security layer that remains effective even when encryption keys might be compromised through side-channel attacks.

Ready to strengthen your supply chain against increasingly sophisticated counterfeits? Discover how this scalable, software-based solution could be integrated with your existing security infrastructure to provide an additional layer of protection for critical semiconductor components.

Send us Fan Mail

Support the show

Learn more about the EDGE AI FOUNDATION - edgeaifoundation.org

Introduction to Edge ML Detection

Speaker 1

So , hi everyone , welcome to the talk . Edge ML for counterfeit chip detection . So we're both machine learning engineers in advanced R&D team in analog devices and we work on emerging security technologies and research method to utilize AI to enhance security and also work on solution to provide security for AI on the edge . So here's today's agenda we're going to talk about permanent definition and we're going to give a brief summary of our solution , and then we're going to talk about details about our dataset collection and model architecture , and after that we're going to talk about results and

Counterfeit Challenges in Semiconductor Industry

Speaker 1

roadmap . So the semiconductor industry has grown into $500 billion market over the last 60 years . However , there are some challenges , such as profound shortage of new chips and increase of counterfeit chips . So examples of counterfeiting includes altering part markings to misrepresent the part , or presenting used part as new , or producing devices without authority , which leads to substantial risk of malfunction . And , according to ERAI , the number of counterfeit chips is still increasing in the market , and counterfeit electronics cost global semiconductor industry more than $200 billion per year . And so there are some existing works addressing this issue .

Our Unsupervised ML Solution

Speaker 1

Although most of them successfully distinguish ICES , they have some limitations , such as they require hardware modification or complex setups or sometimes very sensitive to environmental noise . Also , most of them utilize supervised machine learning algorithms , which requires the labeling of large corpus of data .

Speaker 1

So here arises a need for an efficient counterfeit detection solution and we propose counterfeit detection solution that utilize unsupervised machine learning algorithm and analog fingerprint data . And our method could be combined with traditional cryptographic authentication methods and we utilize very tiny machine learning models . That requires less than 60 kilobytes of memory , so that is easy to incorporate into existing method . Also , this method is very scalable and cost-effective . So this is overview of deployment workflow . So for model deployment we utilize the lightweight MCU with Cortex-M4 processor and we fuse pre-trained quantized model on board . So here's how it works . So from the chip we collect the real-time analog fingerprints , which are power of memory , write sequences and then we feed data to model and conduct inference on the board , and then we utilize this inference result to distinguish the authentic part or cloned part . So from here I'm going to hand over to my teammate Pavani and she's going to give you further details .

Dataset Collection Process

Speaker 2

Hey everyone , I'm going to give an overview of how we collected . So this is an overview of how we collected the data set for our model . So we chose to use our one-wire secure authenticator parts . The reason behind using our one-wire secure authenticators for this solution is we know for a fact that some of these are getting cloned and it's a critical issue for our customers and we'll be solving that problem for them if we are able to differentiate between our authentic chip and somebody else's chip using our mm model . So we took 1000 ds28e54 secure authenticators and offered 750 are in our training set and 250 are in the test set and our clone clone devices are closest relatives of DS28E54 . The reasoning behind choosing the closest relative of DS28E54 as clone is that if my model is able to tell me that this is a clone for a closest relative , it will do really good on some cheap microbe which has been done on other fab and everything right . So we took all these samples and collected analog fingerprints while powering up this device and also during a memory write operation . So we used logic analyzer to collect this analog fingerprints , digitizing it . Later we downsample all this data that is collected to 1024 data points for each sample so that it's the less memory footprint for our ML model , so that we can use this on edge AI . So I'll give a little bit overview of how the model architecture is and go through on like how the performance is for the current data set

Model Architecture and Results

Speaker 2

. So the inspiration for this architecture is through auto encoder architecture for anomaly detection . So one might think that how does auto encoder even differentiate between authentic and clones , right ? So I am training my autoencoder model using all our authentic parts and my model know really well to reconstruct the similar signature for my parts . But in case , if it comes with the cloner part , it doesn't know how to do it so it has a larger reconstruction loss . So that is my identifying parameter to differentiate between authentic and clones .

Speaker 2

So we went through multiple iterations on model architecture , depth and also what kind of layers that we want to use . We start off with single channel , like sending power of samples first across some convolution layers , but that was not really working out . And then we used two-channel convolutional autoencoder model . That was giving a really good performance . But when I add my application code to collect the real-time data it is too big for the micro that we were using . So later we used convolution 2D layers , which reduced the model size better and we were able to fuse it into the micro . So we trained the model for like 100 epochs and observed really good convergence and also really good losses . And , based on the threshold that comes from the pre-trained model , we tested our data set that we curated before , with some of the clones and some of the authentic , and the model was able to 100% differentiate on the existing data set . And this this is basically another performance metric for how well the distribution is separated . So so the distance ratio for the current model is 0.75 . So it clearly shows the difference between our authentic samples and the clone samples , which gives us more confidence while differentiating them . So , to summarize , we have collected the data , built the model and deployed it on Cortex-M4 . Further , we were planning to deploy this model onto a processor which has a CNN accelerator and see how the power and latency changes happen , and also introduce this model in different environment conditions and process variation and make it more robust .

Speaker 2

And one more thing that we also want to try is automate the data collection

Future Plans and Applications

Speaker 2

so that one can collect these analog fingerprints directly from the AT equipment that they have . So I want to leave everybody with this thought . This solution is not just limited to secure authenticator parts . Right , if you are able to collect any analog fingerprints , you are still able to train your unsupervised model and implement it , so it is more scalable and reusable too . The solution would always be like an add-on to existing cryptographic authentications as well , because just the talk before they have mentioned a lot of side channel attacks and your keys can be confiscated . So in scenarios like that , if you have an another technique to identify your own chip , that is a win-win . And this solution is also a softwarebased too and can be implemented into different kinds of micros . As of now , we are using Cortex-M4 , but we can still make changes and put it on existing micros as well . So with this , I'm going to open it for Q&A . Thank you so much .

Speaker 1

Let's thank the speakers Selena and Bhavana . Thank you very much .