TextAttack icon indicating copy to clipboard operation
TextAttack copied to clipboard

Sentence-level or paraphrase-based attack required

Open Opdoop opened this issue 4 years ago β€’ 3 comments

Is your feature request related to a problem? Please describe. Current textattack is substitute-based attack in char/word-level. Add some paraphrase-based attack could increase the diversity of attack recipe.

Describe alternatives you've considered Found that other toolbox(https://github.com/thunlp/OpenAttack) already merge some sentence-level attack.

Additional context Just wondering is there any plan to add sentence-level attack?

Opdoop avatar Jan 05 '21 15:01 Opdoop

@Opdoop yes.. plan to work on that! Can you help?

qiyanjun avatar Jan 06 '21 22:01 qiyanjun

The module that paraphrase-based attack needed is quite different from the module that TextAttack currently provided. I'm not sure how to merge paraphrase-based attack into TextAttack. πŸ˜…That's a hard task for me. I'll try it after the semester end.

Opdoop avatar Jan 09 '21 09:01 Opdoop

I'm interested in picking this up. It seems like sentence-level transformations would be relatively easy to implement in augmentors (as opposed to transformations), so thinking of starting with paraphrase-based sentence-level augmetnations.

pruksmhc avatar Jan 28 '22 16:01 pruksmhc