Skip to content

Testing4AI/QuoTe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

184 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QuoTe: Quality-oriented Testing for DL Systems

This repository contains code for the journal paper "QuoTe: Quality-oriented Testing for Deep Learning Systems" (TOSEM), an extension of our previous work RobOT (ICSE'21).

Prerequisite (Py3 & TF2)

The code is run successfully using Python 3.6.10 and Tensorflow 2.2.0.

We recommend using conda to install the tensorflow-gpu environment:

$ conda create -n tf2-gpu tensorflow-gpu==2.2.0
$ conda activate tf2-gpu

To run code in the jupyter notebook, you should add the kernel manually:

$ pip install ipykernel
$ python -m ipykernel install --name tf2-gpu

To run the jupyter notebook on a sever:

nohup jupyter notebook --ip 0.0.0.0 & 

Files

  • Robustness: Experiments for Robustness Property

    • Datasets: MNIST (image) / FASHION (image) / SVHN (image) / CIFAR-10 (image)
  • Fairness: Experiments for Fairness Property

    • Datasets: Census (tabular) / Credit (tabular) / Bank (tabular) / FairFace (image)
  • utils: Utils for plotting figures

To Run

  • See the README.md file in each directory for a quick start.
  • Example models are provided in the trained_models directory.
  • Python scripts for experiments are provided in the tutorials directory.

Publications

@article{quote2023,
  author    = {Jialuo Chen, Jingyi Wang, Xingjun Ma, Youcheng Sun, Jun Sun, Peixin Zhang, and Peng Cheng},
  title     = {QuoTe: Quality-oriented Testing for Deep Learning Systems},
  booktitle = {ACM Transactions on Software Engineering and Methodology (TOSEM)},
  year      = {2023}
}
@inproceedings{robot2021,
  author    = {Jingyi Wang, Jialuo Chen, Youcheng Sun, Xingjun Ma, Dongxia Wang, Jun Sun, and Peng Cheng},
  title     = {RobOT: Robustness-Oriented Testing for Deep Learning Systems},
  booktitle = {43rd IEEE/ACM International Conference on Software Engineering, ICSE 2021, Madrid, Spain, 22-30 May 2021},
  year      = {2021}
}

About

Code release for QuoTe (TOSEM'23)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages