Giter Club home page Giter Club logo

arct2's Introduction

Probing Neural Network Understanding of Natural Language Arguments

Authors: Timothy Niven and Hung-Yu Kao

Abstract:

We are surprised to find that BERT's peak performance of 77% on the Argument Reasoning Comprehension Task reaches just three points below the average untrained human baseline. However, we show that this result is entirely accounted for by exploitation of spurious statistical cues in the dataset. We analyze the nature of these cues and demonstrate that a range of models all exploit them. This analysis informs the construction of an adversarial dataset on which all models achieve random accuracy. Our adversarial dataset provides a more robust assessment of argument comprehension and should be adopted as the standard in future work.

Reference:

to be added

Adversarial Dataset

Provided in the adversarial_dataset folder.

The script make_adversarial_dataset.py provides dictionaries mapping the original to negated claims.

Viewing our Results

Each experiment has its own folder in the results folder. The suffixes indicate the setup

  • cw only considers claims and warrants
  • rw only considers reasons and warrants
  • w only considers warrants
  • adv uses the adversarial dataset

Within each experiment's folder you will find

  • accs.csv: contains accuracies for train, dev, and test over all random seeds
  • best_params.json: lists the best parameters from grid search
  • grid.csv: lists all grid search results and parameter combinations
  • preds.csv: lists all predictions for all data points which can be filtered by dataset and queried by each data point's unique identifier

You can get a summary of the accuracies over various random seeds for an experiment by running

python accs.py experiment_name 

For details of how each experiment is run, you can view the files in the experiments folder.

Reproducing our Results

Package requirements are listed in requirements.txt.

First, prepare the data by running prepare.sh.

To reproduce the results of any of the experiments run the script

python run.py experiment_name

arct2's People

Contributors

timniven avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.