GithubHelp home page GithubHelp logo

beliefzhu / ares Goto Github PK

View Code? Open in Web Editor NEW

This project forked from thu-ml/ares

0.0 0.0 0.0 386.74 MB

A Python library for adversarial machine learning focusing on benchmarking adversarial robustness.

Home Page: https://thu-ml-ares.rtfd.io

License: Apache License 2.0

Shell 0.10% Python 99.90%

ares's Introduction

๐Ÿš€ Welcome to ARES 2.0 ๐Ÿš€

๐ŸŒ Overview

๐Ÿ” ARES 2.0 (Adversarial Robustness Evaluation for Safety) is a Python library dedicated to adversarial machine learning research. It aims at benchmarking the adversarial robustness of image classification and object detection models, and introduces mechanisms to defend against adversarial attacks through robust training.

๐ŸŒŸ Features

  • Developed on Pytorch.
  • Supports various attacks on classification models.
  • Employs adversarial attacks on object detection models.
  • Provides robust training for enhanced robustness and various trained checkpoints.
  • Enables distributed training and testing.

๐Ÿ’พ Installation

  1. Optional: Initialize a dedicated environment for ARES 2.0.

    conda create -n ares python==3.10.9
    conda activate ares
    
  2. Clone and set up ARES 2.0 via the following commands:

    git clone https://github.com/thu-ml/ares2.0
    cd ares2.0
    pip install -r requirements.txt
    mim install mmengine==0.8.4
    mim install mmcv==2.0.0 
    mim install mmdet==3.1.0
    pip install -v -e .
    

๐Ÿš€ Getting Started

  • For robustness evaluation of image classification models against adversarial attacks, please refer to classification.
  • For robustness evaluation of object detection models, please refer to detection.
  • For methodologies on robust training, please refer to robust-training.

๐Ÿ“˜ Documentation

๐Ÿ“š Access detailed tutorials and API docs on strategies to attack classification models, object detection models, and robust training here.

๐Ÿ“ Citation

If you derive value from ARES 2.0 in your endeavors, kindly cite our paper on adversarial robustness, which encompasses all models, attacks, and defenses incorporated in ARES 2.0:

@inproceedings{dong2020benchmarking,
  title={Benchmarking Adversarial Robustness on Image Classification},
  author={Dong, Yinpeng and Fu, Qi-An and Yang, Xiao and Pang, Tianyu and Su, Hang and Xiao, Zihao and Zhu, Jun},
  booktitle={Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR)},
  pages={321--331},
  year={2020}
}

ares's People

Contributors

dependabot[bot] avatar dongyp13 avatar fugoes avatar haichen-ber avatar niculuse avatar songzy12 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.