Adversarial Attacks and Defense for Conversation Entailment Task

Zhenning Yang, Ryan Krawec, Liang-Yuan Wu
5/1/2024
cs.CLcs.AI

No confident code implementation found for this paper.

Abstract

As the deployment of NLP systems in critical applications grows, ensuring the robustness of large language models (LLMs) against adversarial attacks becomes increasingly important. Large language models excel in various NLP tasks but remain vulnerable to low-cost adversarial attacks. Focusing on the domain of conversation entailment, where multi-turn dialogues serve as premises to verify hypotheses, we fine-tune a transformer model to accurately discern the truthfulness of these hypotheses. Adversaries manipulate hypotheses through synonym swapping, aiming to deceive the model into making incorrect predictions. To counteract these attacks, we implemented innovative fine-tuning techniques and introduced an embedding perturbation loss method to significantly bolster the model's robustness. Our findings not only emphasize the importance of defending against adversarial attacks in NLP but also highlight the real-world implications, suggesting that enhancing model robustness is critical for reliable NLP applications.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{yang2024adversarial,
  title  = {Adversarial Attacks and Defense for Conversation Entailment Task},
  author = {Zhenning Yang and Ryan Krawec and Liang-Yuan Wu},
  year   = {2024},
  eprint = {2405.00289},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2405.00289v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2405.00289.svg)](https://codeofpaper.com/paper/2405.00289)

Discussion