Skip to content

Implementation of our paper 'Towards Unsupervised SEM Image Segmentation for IC Layout Extraction'

License

Notifications You must be signed in to change notification settings

emsec/unsupervised-ic-sem-segmentation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repository contains the implementation, trained models, and an excerpt from our labeled IC scanning electron microscope (SEM) image dataset from our paper "Towards Unsupervised SEM Image Segmentation for IC Layout Extraction". The full dataset is available here.

The SEM images and labels are licensed under a Creative Commons Attribution 4.0 International License.

CC BY 4.0

Setup

Tested on Python 3.8.10 with torch 1.12.1 on CUDA 11.3.

Next to the dependencies from requirements.txt (install using pip install -r requirements.txt), this project requires torch with a matching CUDA installation, as well as OpenCL at least in version 2.0.

Training

Run python train.py -h for details on the script's parameters. Note that the --batch_split parameter must evenly divide the number of image patches. Our 4096x3536 pixel SEM images are split into 864 128x128 pixel patches. Splitting these images into 8, 16, or 32 batches would thus work, while splitting them into 10 batches, for example, would cause an error.

To supply training data, copy your SEM image dataset into the dataset/sems folder and their SVG labels into dataset/labels. When using images of a different size, adapt the scripts accordingly.

Evaluation

Run python eval.py with corresponding parameters to obtain the Electrically Significant Difference results of a trained model on the whole dataset. We supply the models we trained for our evaluation in the models directory.

Academic Context

If you want to cite the work please don't hesitate to cite the original paper.

@inproceedings {2023rothaug,
    author = {Rothaug, Nils and Klix, Simon and Auth, Nicole and B\"ocker, Sinan and Puschner, Endres and Becker, Steffen and Paar, Christof},
    title = {Towards Unsupervised SEM Image Segmentation for IC Layout Extraction},
    booktitle = {Proceedings of the 2023 Workshop on Attacks and Solutions in Hardware Security},
    series = {ASHES'23},
    year = {2023},
    month = {november},
    keywords = {ic-layout-extraction;sem-image-segmentation;unsupervised-deep-learning;open-source-dataset},
    url = {https://doi.org/10.1145/3605769.3624000},
    doi = {10.1145/3605769.3624000},
    isbn = {9798400702624},
    publisher = {Association for Computing Machinery},
    address = {New York, NY, USA}
}

About

Implementation of our paper 'Towards Unsupervised SEM Image Segmentation for IC Layout Extraction'

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published