ANTONIO: Towards a Systematic Method of Generating NLP Benchmarks for Verification

Marco Casadio, Luca Arnaboldi, Matthew L. Daggitt, Omri Isac, Tanvi Dinkar +3 more
5/6/2023
cs.CLcs.AIcs.LG

No official code found. Best implementation: ANTONIONLP/ANTONIO (3 stars, Apache-2.0, last commit 2024-11-05).

Abstract

Verification of machine learning models used in Natural Language Processing (NLP) is known to be a hard problem. In particular, many known neural network verification methods that work for computer vision and other numeric datasets do not work for NLP. Here, we study technical reasons that underlie this problem. Based on this analysis, we propose practical methods and heuristics for preparing NLP datasets and models in a way that renders them amenable to known verification methods based on abstract interpretation. We implement these methods as a Python library called ANTONIO that links to the neural network verifiers ERAN and Marabou. We perform evaluation of the tool using an NLP dataset R-U-A-Robot suggested as a benchmark for verifying legally critical NLP applications. We hope that, thanks to its general applicability, this work will open novel possibilities for including NLP verification problems into neural network verification competitions, and will popularise NLP problems within this community.

View on arXivView PDF

Code Implementations(1)

ANTONIONLP/ANTONIOCommunity100%
Apache-2.0
34Shell, PythonAug 6, 20231 years agoApache-2.0

Similar Papers

Cite this paper

@article{casadio2023antonio,
  title  = {ANTONIO: Towards a Systematic Method of Generating NLP Benchmarks for Verification},
  author = {Marco Casadio and Luca Arnaboldi and Matthew L. Daggitt and Omri Isac and Tanvi Dinkar and Daniel Kienitz and Verena Rieser and Ekaterina Komendantskaya},
  year   = {2023},
  eprint = {2305.04003},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2305.04003v3}
}

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/2305.04003.svg)](https://codeofpaper.com/paper/2305.04003)

Discussion