Pith. sign in

REVIEW 2 cited by

DiffuseDef: Improved Robustness to Adversarial Attacks via Iterative Denoising

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2407.00248 v2 pith:PWGTIKPK submitted 2024-06-28 cs.CL

classification cs.CL
keywords adversarialattacksdiffusedefdiffusionlanguagemodelsclassifierdefense
verification ladder T0 review T1 audit T2 compute T3 formal
0 comments
read the original abstract

Pretrained language models have significantly advanced performance across various natural language processing tasks. However, adversarial attacks continue to pose a critical challenge to systems built using these models, as they can be exploited with carefully crafted adversarial texts. Inspired by the ability of diffusion models to predict and reduce noise in computer vision, we propose a novel and flexible adversarial defense method for language classification tasks, DiffuseDef, which incorporates a diffusion layer as a denoiser between the encoder and the classifier. The diffusion layer is trained on top of the existing classifier, ensuring seamless integration with any model in a plug-and-play manner. During inference, the adversarial hidden state is first combined with sampled noise, then denoised iteratively and finally ensembled to produce a robust text representation. By integrating adversarial training, denoising, and ensembling techniques, we show that DiffuseDef improves over existing adversarial defense methods and achieves state-of-the-art performance against common black-box and white-box adversarial attacks.

Discussion (0). Continue with ORCID to comment.

Forward citations

Cited by 2 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score. Full citation record

  1. Adversarial Robustness through Dynamic Ensemble Learning

    cs.CR 2024-12 reject novelty 4.0 of 10

    A dynamic ensemble of BERT, RoBERTa, and ALBERT with randomized smoothing, masked inference, and TextFooler adversarial training is reported to keep 82-87% accuracy under attack on AG News and IMDB, far above prior defenses.

  2. Defensive Dual Masking for Robust Adversarial Defense

    cs.CL 2024-12 conditional novelty 3.0 of 10

    Defensive Dual Masking inserts and replaces tokens with [MASK] at training and inference, reporting higher adversarial accuracy than prior defenses on AGNews and MR.

Pith tools