Skip to content

SSCT-Lab/MoCoAssembler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

314 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MoCo:Fuzzing Deep Learning Libraries via Code Assembling

Issue List

Issue List stores the bug issues we submitted.

Description of README.md

DL Library: Library name (TensorFlow, PyTorch).

Issue: Description of Bugs.

URL: Issue link of Bugs.

Status: Issue Status of Bugs (confirmed or fixed).

Bug List

Bug List stores the bugs we can find.

Description of README.md

Bug API: The API name that triggered the bug.

Bug Type: The type of bug that was triggered (ICBug, BonBug, PerBug, ImpBug).

File Path: Test case paths that can trigger bugs.

Error Message: Error description or error report.

Directory structure

We provide specific directory structures according to different frameworks.

/MoCoAssembler/bugs -- Bug list for MoCo.

/MoCoAssembler/moco_jt2 -- MoCo for jittor.

/MoCoAssembler/moco_torch2 -- MoCo for pytorch.

/MoCoAssembler/moco_tf2 -- MoCo for tensorflow.

/MoCoAssembler/datasets -- Datasets we used (Need to be added by the replicator).

Usage

In order to reproduce our tool, you first need to download and unzip /MoCoAssembler, and use MoCo according to the corresponding README.md.

Library Link
Tensorflow https://github.com/SATE-Lab/MoCoAssembler/blob/MoCo_2.1/moco_tf2/README.md
Pytorch https://github.com/SATE-Lab/MoCoAssembler/blob/MoCo_2.1/moco_torch2/README.md
Jittor https://github.com/SSCT-Lab/MoCoAssembler/blob/MoCo_2.1/moco_jt2/README.md

Libraries

I. Tensorflow

TensorFlow is an end-to-end open source platform for machine learning. It has a comprehensive, flexible ecosystem of tools, libraries, and community resources that lets researchers push the state-of-the-art in ML and developers easily build and deploy ML-powered applications. TensorFlow was originally developed by researchers and engineers working within the Machine Intelligence team at Google Brain to conduct research in machine learning and neural networks. However, the framework is versatile enough to be used in other areas as well.

II. Pytorch

PyTorch is an open-source deep learning framework developed by Facebook's AI Research lab (FAIR). It is widely used in the research and development of artificial intelligence and machine learning applications. PyTorch provides a flexible and intuitive platform for building and training neural networks, making it a popular choice among researchers and developers.

III. Jittor

Jittor is a high-performance deep learning framework based on JIT compiling and meta-operators. The whole framework and meta-operators are compiled just-in-time. A powerful op compiler and tuner are integrated into Jittor. It allowed us to generate high-performance code with specialized for your model. Jittor also contains a wealth of high-performance model libraries, including: image recognition, detection, segmentation, generation, differentiable rendering, geometric learning, reinforcement learning, etc. .

Datasets

We used 9 deep learning models from 3 common datasets based on image and sequence data as the initial seed models for MoCo, and these models have been widely used in many existing studies.

Model Dataset Link
AlexNet CIFAR-10 ImageNet
GoogLeNet ImageNet ImageNet
LeNet MNIST MNIST
MobileNet CIFAR-10 ImageNet
ResNet18 ImageNet ImageNet
SqueezeNet ImageNet ImageNet
VGG19 CIFAR-10 ImageNet
LSTM Stock-Price ModelNet10
PointNet Stock-Price ModelNet10

I. We have made special treatment for different data sets, which are stored in the form of .npz for training and validation of the network model.

II. We provide the processed dataset file MoCo_Datasets.

Note: In datasets.zip, there are 3 files:

modelnet10.npz: dataset for modelnet10;

imagenet.npz: dataset for imagenet;

mnist.npz: dataset for mnist;

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages