Giter VIP home page Giter VIP logo

Comments (10)

j6mes avatar j6mes commented on June 19, 2024

@andreasvlachos

Run with the following command (GPU optional). Gets about 88% accuracy which is within 1% of the score reported in [Riedel et al 2017].

On our dataset, we're sitting about 60% accuracy for a 2-way classification 👎

GPU=1 PYTHONPATH=src:lib/DrQA python src/scripts/rte/fnc_riedel.py (on FNC data)
GPU=1 PYTHONPATH=src:lib/DrQA python src/scripts/rte/fever_riedel.py (on our data)

This is without early stopping or a clever learning rate schedule.

I also want to evaluate different vocab/NN sizes. Might try a grid search on Sharc over the weekend.

from naacl2018-fever.

andreasvlachos avatar andreasvlachos commented on June 19, 2024

Interesting! The random baseline would be 50% right? (same number of supported/refuted).

I would say let's first complete the full task evaluation (and make sure we are happy with the metrics) and then we optimize the various components according to what the metrics tell us.

from naacl2018-fever.

j6mes avatar j6mes commented on June 19, 2024

Training with randomly sampled pages for the not enough info class:

Accuracy on gold labels dev set is approx: 70%.
Accuracy on predicted pages (from DRQA) is currently approx: 56%

A random baseline would be 33%

Will try incorporating DRQA predictions into the training set too.

from naacl2018-fever.

j6mes avatar j6mes commented on June 19, 2024

Training on pages solely on pages retrieved from DRQA for the Not Enough Info class gives a dev accuracy of 0.37

Training on FNC (merging discuss and unrelated into not enough info) and testing on pages predicted with DRQA gives an accuracy of 0.35.

from naacl2018-fever.

andreasvlachos avatar andreasvlachos commented on June 19, 2024

from naacl2018-fever.

j6mes avatar j6mes commented on June 19, 2024

Got 2 families of experiments going for this MLP model for generating training data for the Not Enough Info class. Method 1: NN - use the closest page from DRQA. Method 2: RS - Randomly sample.

Oracle RS - no DrQA for the test-time predictions. Just using the annotator labeled pages. Accuracy 71%. Confusion matrix/classification report: https://pastebin.com/x43y9vR0

Oracle NN - using DrQA just to identify the nearest neighbour pages for NEI claims. Accuracy 53%
https://pastebin.com/1MZxpaBg

DrQA selecting k pages for all claims

screen shot 2017-12-08 at 20 53 38

Confusion matrix for k=1 RS model https://pastebin.com/UQtTHYvK

from naacl2018-fever.

j6mes avatar j6mes commented on June 19, 2024

PS: that has early stopping with patience=8.

I think the reason the RS model is doing well is because the cosine similarity between TF-IDF vectors (one of the features) is going to be v. low for unrelated documents. this might work quite nicely as a document relatedness filter.

from naacl2018-fever.

andreasvlachos avatar andreasvlachos commented on June 19, 2024

Hey, yes, makes sense. Random is often hard to beat, and for a good reason (unless we know what mistakes we will make). Is it correct to say that the oracle RS is a bit more oracle than the oracle NN as the first uses the labeled pages by the annotators while the second one uses DRQA?

from naacl2018-fever.

j6mes avatar j6mes commented on June 19, 2024

Both use labeled pages for the support/refutes classes. It's just for the NEI class where we have no labeled pages. I think because the nearest neighbour pages are more semantically similar than randomly sampled, the classifier needs to be more sensitive which we cannot achieve with this mlp

from naacl2018-fever.

andreasvlachos avatar andreasvlachos commented on June 19, 2024

got it. The reason could be what you say. Maybe see if the NN chosen ones help if added to the RS chosen ones.

from naacl2018-fever.

Related Issues (20)

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.