Skip to content

Plan for the pipeline [UPDATED] #79

@someshsingh22

Description

@someshsingh22

I will put the assumed pseudocode as well first let's discuss the features / plan in words
NOTE : THIS IS FOR SINGLE PASS ATTACKS ONLY
We missed out on approaches where Black box attacks get classification results from models

SINGLE PASS

  • Load Dataset
    Implement Classification, Translation, NER, Entailment in order
    Add standard datasets of each type IMDB, English-Chinese SST etc
  • Data Loader
    We can offer our own as well Torchtext/Allennlp
    User can define his own dataloaders
  • Create Adversaries
    Data Loaders / Datasets keeping option (2) in mind and give user an option of top k attacks to be kept
  • User implements model
  • User tests his model on actual dataset and adversarial dataset
  • Display the results
    Give users a grid option for metrics, extractors, and transforms
    Show user the ETA
    Show top k best attacks and their results.

TRAIN

  • User implements his test function
  • Set grid trainer
    Pass the test function to the trainer along with grid to the grid trainer
  • Train the decepticon
  • Generate adversaries from top_k results
  • Show results

Additional - Can add three version of decepticons, strong, stealthy and balanced top_k rankings will be done on basis of fall of accuracy (fall), metric distance, weighted-mean

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions