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* benchmark
|
| 11 |
+
|
| 12 |
+
---
|
| 13 |
+
|
| 14 |
+
# WikiQA Evaluation Dataset
|
| 15 |
+
|
| 16 |
+
This dataset is a processed evaluation dataset derived from the **WikiQA development split**.
|
| 17 |
+
|
| 18 |
+
The dataset was constructed for evaluating query-document relevance in information retrieval and retrieval evaluation experiments.
|
| 19 |
+
|
| 20 |
+
## Dataset Description
|
| 21 |
+
|
| 22 |
+
The original **WikiQA** dataset provides questions and candidate answer sentences with human-annotated relevance labels.
|
| 23 |
+
|
| 24 |
+
For this dataset, the WikiQA development split (`WikiQA-dev.tsv`) was used as the source data. Positive question-sentence pairs were extracted from the original annotations, and additional negative examples were randomly sampled to construct an evaluation dataset with a specified positive-to-negative ratio.
|
| 25 |
+
|
| 26 |
+
No model-based hard-negative mining was performed when constructing this evaluation dataset.
|
| 27 |
+
|
| 28 |
+
## Source Dataset
|
| 29 |
+
|
| 30 |
+
This dataset is derived from the **WikiQA** dataset introduced by:
|
| 31 |
+
|
| 32 |
+
> Yang, Yi, Wen-tau Yih, and Christopher Meek.
|
| 33 |
+
> "WikiQA: A Challenge Dataset for Open-Domain Question Answering."
|
| 34 |
+
> Proceedings of the 2015 Conference on Empirical Methods in Natural Language Processing (EMNLP), 2015.
|
| 35 |
+
|
| 36 |
+
The original WikiQA corpus was released by **Microsoft Research**.
|
| 37 |
+
|
| 38 |
+
The source files used for preprocessing were obtained from the following Kaggle repository:
|
| 39 |
+
|
| 40 |
+
https://www.kaggle.com/datasets/saurabhshahane/wikiqa-corpus
|
| 41 |
+
|
| 42 |
+
The Kaggle dataset is used here as the source from which the WikiQA development split was obtained; the original dataset should be attributed to Microsoft Research and the original WikiQA authors.
|
| 43 |
+
|
| 44 |
+
## Dataset Construction
|
| 45 |
+
|
| 46 |
+
The dataset was constructed from `WikiQA-dev.tsv` using the following procedure:
|
| 47 |
+
|
| 48 |
+
1. The WikiQA development split was loaded as the source dataset.
|
| 49 |
+
2. Question-sentence pairs labeled as relevant in the original WikiQA annotations were extracted as positive examples.
|
| 50 |
+
3. Non-relevant question-sentence pairs were randomly sampled from the available negative examples.
|
| 51 |
+
4. The number of negative examples was controlled to obtain the desired positive-to-negative ratio.
|
| 52 |
+
5. The resulting examples were used as the evaluation dataset.
|
| 53 |
+
|
| 54 |
+
The purpose of this processing was to create a compact evaluation set while preserving the relevance annotations provided by WikiQA.
|
| 55 |
+
|
| 56 |
+
### Negative Sampling
|
| 57 |
+
|
| 58 |
+
Negative examples in this dataset are **randomly sampled negatives**.
|
| 59 |
+
|
| 60 |
+
## Dataset Structure
|
| 61 |
+
|
| 62 |
+
Each example contains the following fields:
|
| 63 |
+
|
| 64 |
+
| Field | Description |
|
| 65 |
+
| ---------- | --------------------------- |
|
| 66 |
+
| `Question` | The question from WikiQA |
|
| 67 |
+
| `Sentence` | A candidate answer sentence |
|
| 68 |
+
| `label` | Binary relevance label |
|
| 69 |
+
|
| 70 |
+
Where:
|
| 71 |
+
|
| 72 |
+
* `1` indicates that the sentence is annotated as a relevant answer to the question.
|
| 73 |
+
* `0` indicates that the sentence is not annotated as a relevant answer.
|
| 74 |
+
|
| 75 |
+
> Update the field names above if the actual Hugging Face dataset uses different column names.
|
| 76 |
+
|
| 77 |
+
## Intended Use
|
| 78 |
+
|
| 79 |
+
This dataset can be used for:
|
| 80 |
+
|
| 81 |
+
* evaluating information retrieval models,
|
| 82 |
+
* evaluating query-document relevance models,
|
| 83 |
+
* evaluating retrieval evaluators,
|
| 84 |
+
* comparing retrieval or reranking methods,
|
| 85 |
+
* experiments involving binary relevance classification.
|
| 86 |
+
|
| 87 |
+
Although this dataset was originally created for retrieval-evaluation experiments, it is not restricted to a particular model or retrieval framework.
|
| 88 |
+
|
| 89 |
+
## Relationship to the Original WikiQA Dataset
|
| 90 |
+
|
| 91 |
+
This repository contains a **processed subset/reconstruction of the WikiQA development split**, rather than the original WikiQA corpus.
|
| 92 |
+
|
| 93 |
+
The original question, sentence, and relevance annotations originate from WikiQA. The positive-example extraction and negative-example sampling used to construct this evaluation dataset were performed separately for this repository.
|
| 94 |
+
|
| 95 |
+
This dataset should therefore not be considered an official release of the WikiQA benchmark.
|
| 96 |
+
|
| 97 |
+
## License
|
| 98 |
+
|
| 99 |
+
This dataset is derived from the WikiQA dataset distributed by Microsoft Research under the **Open Use of Data Agreement v1.0 (O-UDA-1.0)**.
|
| 100 |
+
|
| 101 |
+
The original license permits use, modification, and distribution of the data subject to its terms.
|
| 102 |
+
|
| 103 |
+
Users of this dataset should review the original license and retain the required attribution and license information.
|
| 104 |
+
|
| 105 |
+
Original license:
|
| 106 |
+
|
| 107 |
+
**Open Use of Data Agreement v1.0 (O-UDA-1.0)**
|
| 108 |
+
|
| 109 |
+
License identifier: `O-UDA-1.0`
|
| 110 |
+
|
| 111 |
+
## Attribution
|
| 112 |
+
|
| 113 |
+
Please attribute the original WikiQA dataset to Microsoft Research and the original authors:
|
| 114 |
+
|
| 115 |
+
Yang, Yi, Wen-tau Yih, and Christopher Meek.
|
| 116 |
+
"WikiQA: A Challenge Dataset for Open-Domain Question Answering."
|
| 117 |
+
Proceedings of the 2015 Conference on Empirical Methods in Natural Language Processing (EMNLP), 2015.
|
| 118 |
+
|
| 119 |
+
## Citation
|
| 120 |
+
|
| 121 |
+
If you use this dataset, please cite the original WikiQA paper:
|
| 122 |
+
|
| 123 |
+
```bibtex
|
| 124 |
+
@inproceedings{yang2015wikiqa,
|
| 125 |
+
title = {WikiQA: A Challenge Dataset for Open-Domain Question Answering},
|
| 126 |
+
author = {Yang, Yi and Yih, Wen-tau and Meek, Christopher},
|
| 127 |
+
booktitle = {Proceedings of the 2015 Conference on Empirical Methods
|
| 128 |
+
in Natural Language Processing},
|
| 129 |
+
year = {2015}
|
| 130 |
+
}
|
| 131 |
+
```
|
| 132 |
+
|
| 133 |
+
## Acknowledgements
|
| 134 |
+
|
| 135 |
+
This dataset is based on the WikiQA corpus released by Microsoft Research.
|
| 136 |
+
|
| 137 |
+
The author of this repository is responsible only for the preprocessing and sampling procedure described above and does not claim ownership of the original WikiQA data.
|