Blacklight
No description available
Install / Use
/learn @Huiying-Li/BlacklightREADME
Blacklight: Scalable Defense for Neural Networks against Query-Based Black-Box Attacks
ABOUT
This repository contains code implementation of the paper "Blacklight: Scalable Defense for Neural Networks against Query-Based Black-Box Attacks", at USENIX Security 2022. Blacklight is a novel defense that detects query-based black-box attacks using an efficient content-similarity engine developed by researchers at SANDLab, University of Chicago.
DEPENDENCIES
Our code is implemented and tested on Python 3.6.9 and the following packages are required.
config==0.5.1numpy==1.19.5torchvision==0.11.2
And the Jupyter core packages we use is:
IPython : 7.16.3
ipykernel : 5.5.6
ipywidgets : 7.7.0
jupyter_client : 7.1.2
jupyter_core : 4.9.2
nbclient : 0.5.9
nbconvert : 6.0.7
nbformat : 5.1.3
notebook : 6.4.10
qtconsole : 5.2.2
traitlets : 4.3.3
How to run detection:
Please look into the example in example.ipynb as reference. Please normalize the queries into $[0,1]$ and make sure all the queries, including both attack and benign queries, are in the same format.
Citation:
@inproceedings{li2022blacklight,
title={Blacklight: Scalable Defense for Neural Networks against Query-Based Black-Box Attacks},
author={Li, Huiying and Shan, Shawn and Wenger, Emily and Zhang, Jiayun and Zheng, Haitao and Zhao, Ben Y},
journal={Proc. of USENIX Security},
year={2022}
}
Related Skills
node-connect
348.2kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
108.9kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
348.2kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
348.2kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
