Update README.md
Browse files
README.md
CHANGED
@@ -1,3 +1,189 @@
|
|
1 |
-
---
|
2 |
-
license: mit
|
3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: mit
|
3 |
+
language:
|
4 |
+
- en
|
5 |
+
size_categories:
|
6 |
+
- n<1K
|
7 |
+
task_categories:
|
8 |
+
- question-answering
|
9 |
+
---
|
10 |
+
# Dataset Card for WikiContradict
|
11 |
+
|
12 |
+
<!-- Provide a quick summary of the dataset. -->
|
13 |
+
|
14 |
+
WikiContradict is a dataset consisting of 253 high-quality, human-annotated instances designed to assess LLM performance when augmented with retrieved passages containing real-world knowledge conflicts. The dataset was created intentionally with that task in mind, focusing on a benchmark consisting of high-quality, human-annotated instances.
|
15 |
+
|
16 |
+
This dataset card has been generated using [this raw template](https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/templates/datasetcard_template.md?plain=1).
|
17 |
+
|
18 |
+
## Dataset Details
|
19 |
+
|
20 |
+
### Dataset Description
|
21 |
+
|
22 |
+
<!-- Provide a longer summary of what this dataset is. -->
|
23 |
+
|
24 |
+
WikiContradict is a QA-based benchmark consisting of 253 human-annotated instances that cover different types of real-world knowledge conflicts.
|
25 |
+
|
26 |
+
Each instance consists of a question, a pair of contradictory passages extracted from Wikipedia, and two distinct answers, each derived from on the passages. The pair is annotated by a human annotator who identify where the conflicted information is and what type of conflict is observed. The annotator then produces a set of questions related to the passages with different answers reflecting the conflicting source of knowledge.
|
27 |
+
|
28 |
+
- **Curated by:** Yufang Hou, Alessandra Pascale, Javier Carnerero-Cano, Tigran Tchrakian, Radu Marinescu, Elizabeth Daly, Inkit Padhi, and Prasanna Sattigeri. All authors are employed by IBM Research.
|
29 |
+
<!-- - **Funded by [optional]:** There was no associated grant. -->
|
30 |
+
- **Shared by:** Yufang Hou, Alessandra Pascale, Javier Carnerero-Cano, Tigran Tchrakian, Radu Marinescu, Elizabeth Daly, Inkit Padhi, and Prasanna Sattigeri.
|
31 |
+
- **Language(s) (NLP):** English.
|
32 |
+
- **License:** MIT.
|
33 |
+
|
34 |
+
### Dataset Sources [optional]
|
35 |
+
|
36 |
+
<!-- Provide the basic links for the dataset. -->
|
37 |
+
|
38 |
+
- **Repository:** [More Information Needed]
|
39 |
+
- **Paper [optional]:** [More Information Needed]
|
40 |
+
- **Demo [optional]:** [More Information Needed]
|
41 |
+
|
42 |
+
## Uses
|
43 |
+
|
44 |
+
<!-- Address questions around how the dataset is intended to be used. -->
|
45 |
+
|
46 |
+
### Direct Use
|
47 |
+
|
48 |
+
<!-- This section describes suitable use cases for the dataset. -->
|
49 |
+
|
50 |
+
The dataset has been used in the paper to assess LLMs performance when augmented with retrieved passages containing real-world knowledge conflicts.
|
51 |
+
|
52 |
+
### Out-of-Scope Use
|
53 |
+
|
54 |
+
<!-- This section addresses misuse, malicious use, and uses that the dataset will not work well for. -->
|
55 |
+
|
56 |
+
N/A.
|
57 |
+
|
58 |
+
## Dataset Structure
|
59 |
+
|
60 |
+
<!-- This section provides a description of the dataset fields, and additional information about the dataset structure such as criteria used to create the splits, relationships between data points, etc. -->
|
61 |
+
|
62 |
+
WikiContradict is given in JSON format to store the corresponding information, so researchers can easily use our data. There are 253 instances in total.
|
63 |
+
The description of each key (when the instance contains two questions) is as follows:
|
64 |
+
|
65 |
+
- **title:** Title of article.
|
66 |
+
- **url:** URL of article.
|
67 |
+
- **paragraph_A:** Paragraph automatically retrieved (containing the tag).
|
68 |
+
- **paragraph_A_clean:** Paragraph automatically retrieved (removing the tag).
|
69 |
+
- **tag:** Type of tag of the article (Inconsistent/Self-contradictory/Contradict-other).
|
70 |
+
- **tagDate:** Date of the tag.
|
71 |
+
- **tagReason:** Reason for the tag.
|
72 |
+
- **annotationResult:** Results of the human data annotation.
|
73 |
+
- **wikitag_label_valid:** Valid or invalid tag (Valid/Invalid).
|
74 |
+
- **valid_comment:** Comment on the tag.
|
75 |
+
- **paragraphA_article:** Title of article containing passage 1.
|
76 |
+
- **paragraphA_information:** Relevant information of passage 1.
|
77 |
+
- **paragraphA_information_standalone:** Decontextualized relevant information of passage 1.
|
78 |
+
- **paragraphB_article:** Relevant information of passage 2.
|
79 |
+
- **paragraphB_information_standalone:** Decontextualized relevant information of passage 2.
|
80 |
+
- **wikitag_label_samepassage:** Boolean value stating whether passage 1 and passage 2 are the same (Same/Different).
|
81 |
+
- **relevantInfo_comment_A:** Comment on the information of passage 1.
|
82 |
+
- **relevantInfo_comment_B:** Comment on the information of passage 2.
|
83 |
+
- **Contradict type I:** Contradiction type I focuses on the fine-grained semantics of the contradiction, e.g., date/time, location, language, etc.
|
84 |
+
- **Contradict type II:** Contradiction type II focuses on the modality the contradiction. It describes the modality of passage 1 and passage 2, whether the information is from a piece of text, or from a row an infobox or a table.
|
85 |
+
- **Contradict type III:** Contradiction type III focuses on the source the contradiction. It describes whether passage 1 and passage 2 are from the same article or not.
|
86 |
+
- **Contradict type IV:** Contradiction type IV focuses on the reasoning aspect. It describes whether the contraction is explicit or implicit (Explicit/Implicit). Implicit contradiction requires some reasoning to understand why passage 1 and passage 2 are contradicted.
|
87 |
+
- **taxonomy:** Array of key-values corresponding to contradict type I, contradict type II, contradict type III, and contradict type IV.
|
88 |
+
- **question1:** Question 1 inferred from the contradiction.
|
89 |
+
- **question1_answer1:** Gold answer to question 1 according to passage 1.
|
90 |
+
- **question1_answer2:** Gold answer to question 1 according to passage 2.
|
91 |
+
- **question2:** Question 2 inferred from the contradiction.
|
92 |
+
- **question2_answer1:** Gold answer to question 2 according to passage 1.
|
93 |
+
- **question2_answer2:** Gold answer to question 2 according to passage 2.
|
94 |
+
|
95 |
+
|
96 |
+
## Dataset Creation
|
97 |
+
|
98 |
+
### Curation Rationale
|
99 |
+
|
100 |
+
<!-- Motivation for the creation of this dataset. -->
|
101 |
+
|
102 |
+
Retrieval-augmented generation (RAG) has emerged as a promising solution to mitigate the limitations of large language models (LLMs), such as hallucinations and outdated information. However, it remains unclear how LLMs handle knowledge conflicts arising from different augmented retrieved passages, especially when these passages originate from the same source and have equal trustworthiness. In this regard, the motivation of WikiContradict is to comprehensively evaluate LLM-generated answers to questions that have varying answers based on contradictory passages from Wikipedia, a dataset widely regarded as a high-quality pre-training resource for most LLMs.
|
103 |
+
|
104 |
+
### Source Data
|
105 |
+
|
106 |
+
<!-- This section describes the source data (e.g. news text and headlines, social media posts, translated sentences, ...). -->
|
107 |
+
|
108 |
+
#### Data Collection and Processing
|
109 |
+
|
110 |
+
<!-- This section describes the data collection and processing process such as data selection criteria, filtering and normalization methods, tools and libraries used, etc. -->
|
111 |
+
|
112 |
+
The data was mostly observable as raw text. The raw data was retrieved from Wikipedia articles containing inconsistent, self-contradictory, and contradict-other tags. The first two tags denote contradictory statements within the same article, whereas the third tag highlights instances where the content of one article contradicts that of another article. In total, we collected around 1,200 articles that contain these tags through the Wikipedia maintenance category “Wikipedia articles with content issues”. Given a content inconsistency tag provided by Wikipedia editors, the annotators verified whether the tag is valid by checking the relevant article content, the editor’s comment, as well as the information in the edit history and the article’s talk page if necessary.
|
113 |
+
|
114 |
+
#### Who are the source data producers?
|
115 |
+
|
116 |
+
<!-- This section describes the people or systems who originally created the data. It should also include self-reported demographic or identity information for the source data creators if this information is available. -->
|
117 |
+
|
118 |
+
Wikipedia contributors.
|
119 |
+
|
120 |
+
### Annotations
|
121 |
+
|
122 |
+
<!-- If the dataset contains annotations which are not part of the initial data collection, use this section to describe them. -->
|
123 |
+
|
124 |
+
#### Annotation process
|
125 |
+
|
126 |
+
<!-- This section describes the annotation process such as annotation tools used in the process, the amount of data annotated, annotation guidelines provided to the annotators, interannotator statistics, annotation validation, etc. -->
|
127 |
+
|
128 |
+
The annotation interface was developed using [Label Studio](https://labelstud.io/).
|
129 |
+
|
130 |
+
The annotators were required to slightly modify the original passages to make them stand-alone (decontextualization). Normally, this requires resolving the coreference anaphors or the bridging anaphors in the first sentence (see annotation guidelines). In Wikipedia, oftentimes the antecedents for these anaphors are the article titles themselves.
|
131 |
+
|
132 |
+
For further information, see the annotation guidelines of the paper.
|
133 |
+
|
134 |
+
#### Who are the annotators?
|
135 |
+
|
136 |
+
<!-- This section describes the people or systems who created the annotations. -->
|
137 |
+
|
138 |
+
Yufang Hou, Alessandra Pascale, Javier Carnerero-Cano, Tigran Tchrakian, Radu Marinescu, Elizabeth Daly, Inkit Padhi, and Prasanna Sattigeri.
|
139 |
+
|
140 |
+
#### Personal and Sensitive Information
|
141 |
+
|
142 |
+
<!-- State whether the dataset contains data that might be considered personal, sensitive, or private (e.g., data that reveals addresses, uniquely identifiable names or aliases, racial or ethnic origins, sexual orientations, religious beliefs, political opinions, financial or health data, etc.). If efforts were made to anonymize the data, describe the anonymization process. -->
|
143 |
+
|
144 |
+
N/A.
|
145 |
+
|
146 |
+
## Bias, Risks, and Limitations
|
147 |
+
|
148 |
+
<!-- This section is meant to convey both technical and sociotechnical limitations. -->
|
149 |
+
|
150 |
+
Each annotation instance contains at least one question and two possible answers, but some instances may contain more than one question (and the corresponding two possible answers for each question). Some instances may not contain a value for **paragraphA_clean**, **tagDate**, and **tagReason**.
|
151 |
+
|
152 |
+
### Recommendations
|
153 |
+
|
154 |
+
<!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
|
155 |
+
|
156 |
+
Our data is downloaded from Wikipedia. As such, the data is biased towards the original content and sources. Given that human data annotation involves some degree of subjectivity we created a comprehensive 17-page annotation guidelines document to clarify important cases during the annotation process. The annotators were explicitly instructed not to take their personal feeling about the particular topic. Nevertheless, some degree of intrinsic subjectivity might have impacted the techniques picked up by the annotators during the annotation.
|
157 |
+
|
158 |
+
Since our dataset requires manual annotation, annotation noise is inevitably introduced. On the other hand, there is minimal risk for harm: the data was already public on Wikipedia.
|
159 |
+
|
160 |
+
|
161 |
+
## Citation [optional]
|
162 |
+
|
163 |
+
<!-- If there is a paper or blog post introducing the dataset, the APA and Bibtex information for that should go in this section. -->
|
164 |
+
|
165 |
+
**BibTeX:**
|
166 |
+
|
167 |
+
[More Information Needed]
|
168 |
+
|
169 |
+
**APA:**
|
170 |
+
|
171 |
+
[More Information Needed]
|
172 |
+
|
173 |
+
<!-- ## Glossary [optional] -->
|
174 |
+
|
175 |
+
<!-- If relevant, include terms and calculations in this section that can help readers understand the dataset or dataset card. -->
|
176 |
+
|
177 |
+
<!-- [More Information Needed] --|
|
178 |
+
|
179 |
+
<!-- ## More Information [optional] -->
|
180 |
+
|
181 |
+
<!-- [More Information Needed] -->
|
182 |
+
|
183 |
+
## Dataset Card Authors
|
184 |
+
|
185 |
+
Yufang Hou, Alessandra Pascale, Javier Carnerero-Cano, Tigran Tchrakian, Radu Marinescu, Elizabeth Daly, Inkit Padhi, and Prasanna Sattigeri.
|
186 |
+
|
187 |
+
## Dataset Card Contact
|
188 |
+
|
189 |
+
Yufang Hou ([email protected]), Alessandra Pascale ([email protected]), Javier Carnerero-Cano ([email protected]), Tigran Tchrakian ([email protected]), Radu Marinescu ([email protected]), Elizabeth Daly ([email protected]), Inkit Padhi ([email protected]), and Prasanna Sattigeri ([email protected]).
|