A PoC to make a backdoored PyTorch neural network
hacktelligence.org·14h·
Discuss: Hacker News
Flag this post

We see how malicious people can backdoor pth files, and how to prevent and detect it.

Introduction

For the first article of my blog, I will talk about backdoor in PyTorch model. PyTorch is a famous library that is used to create neural networks. As you might know, neural networks are functions that takes an input and returns an output, to solve a given problem (classify images, to generate a message such as in ChatGPT), etc. In particular, a given trained neural network - also called a model - can be saved into a file using a save function, and can be used later with a load function. For example, Hugging face is a website that gives the possibility for users to download and/or submit models. However, at the end, neural networks are code, an…

Similar Posts

Loading similar posts...