Welcome to the repository for our paper, "Proactive Bot Detection Based on Structural Information Principles". This repository contains the source code for the SIAMD framework including network evolution and adversarial optimization, which models bot behaviors to achieve proactive graph-based detection in an adversarial manner.