Giter Club home page Giter Club logo

gap-coreference's Introduction

GAP Coreference Dataset

GAP is a gender-balanced dataset containing 8,908 coreference-labeled pairs of (ambiguous pronoun, antecedent name), sampled from Wikipedia and released by Google AI Language for the evaluation of coreference resolution in practical applications.

http://goo.gl/language/gap-coreference

Motivation

Coreference resolution is an important task for natural language understanding and the resolution of ambiguous pronouns a longstanding challenge. Nonetheless, existing corpora do not capture ambiguous pronouns in sufficient volume or diversity to accurately indicate the practical utility of models.

Google AI Language's GAP dataset is an evaluation benchmark comprising 8,908 coreference-labeled pairs of (ambiguous pronoun, antecedent name), sampled from Wikipedia to provide diverse coverage of challenges posed by real-world text. Importantly, GAP is gender-balanced to address the gender bias in coreference systems noted in our and other's analysis.

More details are available in our paper (which should be cited if you use or discuss GAP in your work):

@inproceedings{webster2018gap,
  title =     {Mind the GAP: A Balanced Corpus of Gendered Ambiguou},
  author =    {Webster, Kellie and Recasens, Marta and Axelrod, Vera and Baldridge, Jason},
  booktitle = {Transactions of the ACL},
  year =      {2018},
  pages =     {to appear},
}

Dataset Description

The GAP dataset release comprises three .tsv files, each with eleven columns.

The files are:

  • test 4,000 pairs, to be used for official evaluation
  • development 4,000 pairs, may be used for model development
  • validation 908 pairs, may be used for parameter tuning

The columns contain:

Column Header Description
1 ID Unique identifer for an example (two pairs)
2 Text Text containing the ambiguous pronoun and two candidate names. About a paragraph in length
3 Pronoun The pronoun, text
4 Pronoun-offset Character offset of Pronoun in Column 2 (Text)
5 A ^ The first name, text
6 A-offset Character offset of A in Column 2 (Text)
7 A-coref Whether A corefers with the pronoun, TRUE or FALSE
8 B ^ The second name, text
9 B-offset Character offset of B in Column 2 (Text)
10 B-coref Whether B corefers with the pronoun, TRUE or FALSE
11 URL ^^ The URL of the source Wikipedia page

^ Please note that systems should detect mentions for inference automatically, and access labeled spans only to output predictions.

^^ Please also note that there are two task settings, snippet-context in which the URL column may not be used, and page-context where the URL, and the denoted Wikipedia page, may be used.

Benchmarks

Performance on GAP may be benchmarked against the syntactic parallelism baseline from our above paper on the test set:

Task Setting M F B O
snippet-context 69.4 64.4 0.93 66.9
page-context 72.3 68.8 0.95 70.6

where the metrics are F1 score on Masculine and Feminine examples, Overall, and a Bias factor calculated as F / M.

Contact

To contact us, please use [email protected]

gap-coreference's People

Contributors

daphnelg avatar kelliemwebster avatar vaxelrod avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gap-coreference's Issues

Addressing the Differing Data Distributions in the GAP Test Set

As the authors mentioned, the instances in GAP have certain differences between the female and male groups, e.g., the correct candidate is on average further away from the pronoun in the female group than in the male group, the female instances also contains more candidates on average than the male instances. These would incorrectly make unbiased models appear biased.

In our work, we address this issue. Check it out if you are using the GAP test set as a gender bias diagnostic dataset.

@misc{kocijan2020gap,
      title={The Gap on GAP: Tackling the Problem of Differing Data Distributions in Bias-Measuring Datasets}, 
      author={Vid Kocijan and Oana-Maria Camburu and Thomas Lukasiewicz},
      year={2020},
      eprint={2011.01837},
      archivePrefix={arXiv},
      primaryClass={cs.CL}
}
 

.csv

validation-2 Kathleen Nott was born in Camberwell, London. Her father, Philip, was a lithographic printer, and her mother, Ellen, ran a boarding house in Brixton; Kathleen was their third daughter. She was educated at Mary Datchelor Girls' School (now closed), London, before attending King's College, London. She 185 Ellen 110 FALSE Kathleen 150 TRUE http://en.wikipedia.org/wiki/Kathleen_Nott

confused understanding in paper

Hi dear researchers, I have some trouble understanding the following sentences in the original paper.
"To calculate these baselines, we first detect candidate antecedents by finding all mentions of PERSON entity type, NAME mention type (headed by a proper noun), and, for structural cues, that are not in a syntactic position which precludes coreference with the pronoun."

the last part makes me really confused and i cannot get i across.

Wikipedia full page text

Super cool work on the GAP dataset! For the page-context setting, would it be possible to get access to the original crawled pages from which the snippets were extracted. I see there a URL field in the tsv data files, but I'm guessing some of the pages have changed since then.

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.