We have not lifted any functions out of this paper's repositories yet, so there is nothing we have run. The repositories linked to it are listed below.
Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.
In this paper, we present an approach to improve the robustness of BERT language models against word substitution-based adversarial attacks by leveraging adversarial perturbations for self-supervised contrastive learning. We create a word-level adversarial attack generating hard positives on-the-fly as adversarial examples during contrastive learning. In contrast to previous works, our method improves model robustness without using any labeled data. Experimental results show that our method improves robustness of BERT against four different word substitution-based adversarial attacks, and combining our method with adversarial training gives higher robustness than adversarial training alone. As our method improves the robustness of BERT purely with unlabeled data, it opens up the possibility of using large text datasets to train robust language models against word substitution-based adversarial attacks.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2107.07610")
get_code_for_paper("2107.07610")
have("2107.07610")
The run record, dated, one paper per request, free:
curl https://syntology.ai/api/ran/2107.07610.json
A badge for a README (the split and the date, never a ratio):
[](https://syntology.ai/paper/2107.07610)
Connect an agent — have() is free.