This is the implementation for our paper Random fractal-enabled physical unclonable functions with dynamic AI authentication.
It contains the preprocessing of the PUF patterns, training of ResNet50 based classification model, update of the model with newly added PUFs, testing dataset generation, and the test of the model on the testing dataset. Besides, the algorithms for the computation of the histogram of the PUFs and similarities between PUFs are also listed here.
The dataset is located in the folder ./data
, where
all_rgb
: original images of the PUF patterns
all
: grayscale images,
all_render_bg
: images after the preprocessing
annotations
: json files for training, adding, and testing the method
features
: the CNN features generated for the base dataset
similarity
: images used for the computation of similarity
python train_class_only_init.py
python train_class_only_add.py --a_n_classes 200 --acc_thre 95 --batch_size 2000
python generate_test_set.py
python test_all_pipeline.py
@article{sun2022random,
title = {Random fractal-enabled physical unclonable functions with dynamic AI authentication},
author = {Sun, Ningfei and Chen, Ziyu and Wang, Yanke and Wang, Shu and Xie, Yong and Liu, Qian},
year = {2022}
}