Skip to content

TRIESTE: Translation Based Defense for Text Classifiers

Notifications You must be signed in to change notification settings

AnupKumarGupta/TRIESTE

Repository files navigation

TRIESTE: TRanslatIon basEd defenSe for Text classifiErs

Codes and implementation files to be used as a reference to the paper: TRIESTE: translation based defense for text classifiers.

Status - Published in Springer's Journal of Ambient Intelligence and Humanized Computing

Overview

This repository contains the following files:

  • run_attack.sh - For generating attack files using textattack library.
  • Translation_EN-DE.py - For running proposed defense using EN-DE translation scheme.
  • Translation_EN-FR.py - For running proposed defense using EN-FR translation scheme.
  • Timer_Trans_DE.py - For inference time comparision with and without the application of the proposed defense using EN-DE scheme.
  • Timer_Trans_FR.py - For inference time comparision with and without the application of the proposed defense using EN-DE scheme.

Further details about the methodology may be directly referred to from the published study.

Citation

If you intend to use this work, kindly cite us as follows:

@ARTICLE{gupta2022trieste,  
  author={Gupta, Anup K. and Paliwal, Vardhan and Rastogi, Aryan and Gupta, Puneet},  
  journal={Journal of Ambient Intelligence and Humanized Computing},   
  title={TRIESTE: translation based defense for text classifiers},   
  year={2022},  
  doi={10.1007/s12652-022-03859-07}
  }  

About

TRIESTE: Translation Based Defense for Text Classifiers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published