Saved in:
Bibliographic Details
Main Author: Achard, Chris
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2410.23118
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866913568075546624
author Achard, Chris
author_facet Achard, Chris
contents Language models can achieve high accuracy on natural language tasks such as NLI, but performance suffers on manually created adversarial examples. We investigate the performance of a language model trained on the Stanford Natural Language Inference (SNLI) corpus on a manually created adversarial test set. We then improve the model's performance by fine tuning the model on a small, manually created adversarial training set, designed to help the language model to learn to differentiate between similar words and phrases in the data. We show an increase in accuracy on the adversarial test set (+ 13%) while still maintaining good performance on the original NLI task. We also show an increase in accuracy from 91.2% to 92.9% on the most similar contradictions in the SNLI test set (as judged by cosine similarity).
format Preprint
id arxiv_https___arxiv_org_abs_2410_23118
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Teaching a Language Model to Distinguish Between Similar Details using a Small Adversarial Training Set
Achard, Chris
Computation and Language
Artificial Intelligence
Language models can achieve high accuracy on natural language tasks such as NLI, but performance suffers on manually created adversarial examples. We investigate the performance of a language model trained on the Stanford Natural Language Inference (SNLI) corpus on a manually created adversarial test set. We then improve the model's performance by fine tuning the model on a small, manually created adversarial training set, designed to help the language model to learn to differentiate between similar words and phrases in the data. We show an increase in accuracy on the adversarial test set (+ 13%) while still maintaining good performance on the original NLI task. We also show an increase in accuracy from 91.2% to 92.9% on the most similar contradictions in the SNLI test set (as judged by cosine similarity).
title Teaching a Language Model to Distinguish Between Similar Details using a Small Adversarial Training Set
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2410.23118