Datasets:

Modalities:
Text
Languages:
English
ArXiv:
Tags:
License:
yuvalr commited on
Commit
84ea7e5
1 Parent(s): 1e67e6e

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +81 -15
README.md CHANGED
@@ -73,14 +73,12 @@ pretty_name: Quora Questions Pairs
73
  - [Table of Contents](#table-of-contents)
74
  - [Dataset Description](#dataset-description)
75
  - [Dataset Summary](#dataset-summary)
76
- - [Supported Tasks and Leaderboards](#supported-tasks-and-leaderboards)
77
  - [Dataset Structure](#dataset-structure)
78
  - [Data Instances](#data-instances)
79
  - [Data Fields](#data-fields)
80
  - [Data Splits](#data-splits)
81
  - [Dataset Creation](#dataset-creation)
82
  - [Curation Rationale](#curation-rationale)
83
- - [Source Data](#source-data)
84
  - [Annotations](#annotations)
85
  - [Considerations for Using the Data](#considerations-for-using-the-data)
86
  - [Social Impact of Dataset](#social-impact-of-dataset)
@@ -93,56 +91,124 @@ pretty_name: Quora Questions Pairs
93
 
94
  - **Repository:** [Fighting Bias with Bias repo](https://github.com/schwartz-lab-nlp/fight-bias-with-bias)
95
  - **Paper:** [arXiv](https://arxiv.org/abs/2305.18917)
96
- - **Original Dataset's Paper:** [arXiv](https://arxiv.org/abs/1804.07461)
97
  - **Point of Contact:** [Yuval Reif](mailto:yuval.reif@mail.huji.ac.il)
 
98
 
99
  ### Dataset Summary
100
 
101
- [More Information Needed]
102
 
103
- ### Supported Tasks and Leaderboards
104
 
105
- [More Information Needed]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
106
 
107
  ## Dataset Structure
108
 
109
  ### Data Instances
110
 
111
- [More Information Needed]
112
-
 
 
 
 
 
 
 
 
113
  ### Data Fields
114
 
115
- [More Information Needed]
 
 
 
116
 
117
  ### Data Splits
118
 
119
- [More Information Needed]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
120
 
121
  ## Dataset Creation
122
 
123
  ### Curation Rationale
124
 
125
- [More Information Needed]
126
 
127
  ### Annotations
128
 
129
- [More Information Needed]
 
 
130
 
131
  ## Considerations for Using the Data
132
 
133
  ### Social Impact of Dataset
134
 
135
- [More Information Needed]
136
 
137
  ### Discussion of Biases
138
 
139
- [More Information Needed]
140
 
141
  ## Additional Information
142
 
143
  ### Dataset Curators
144
 
145
- [More Information Needed]
 
 
146
 
147
  ### Citation Information
148
 
 
73
  - [Table of Contents](#table-of-contents)
74
  - [Dataset Description](#dataset-description)
75
  - [Dataset Summary](#dataset-summary)
 
76
  - [Dataset Structure](#dataset-structure)
77
  - [Data Instances](#data-instances)
78
  - [Data Fields](#data-fields)
79
  - [Data Splits](#data-splits)
80
  - [Dataset Creation](#dataset-creation)
81
  - [Curation Rationale](#curation-rationale)
 
82
  - [Annotations](#annotations)
83
  - [Considerations for Using the Data](#considerations-for-using-the-data)
84
  - [Social Impact of Dataset](#social-impact-of-dataset)
 
91
 
92
  - **Repository:** [Fighting Bias with Bias repo](https://github.com/schwartz-lab-nlp/fight-bias-with-bias)
93
  - **Paper:** [arXiv](https://arxiv.org/abs/2305.18917)
 
94
  - **Point of Contact:** [Yuval Reif](mailto:yuval.reif@mail.huji.ac.il)
95
+ - **Original Dataset's Paper:** [GLUE](https://arxiv.org/abs/1804.07461)
96
 
97
  ### Dataset Summary
98
 
99
+ Bias-amplified splits is a novel evaluation framework to assess model robustness, by amplifying dataset biases in the training data and challenging models to generalize beyond them. This framework is defined by a bias-amplified training set and a hard, anti-biased test set, which we automatically extract from existing datasets using model-based methods.
100
 
101
+ Our experiments show that the identified anti-biased examples are naturally challenging for models, and moreover, models trained on bias-amplified data exhibit dramatic performance drops on anti-biased examples, which are not mitigated by common approaches to improve generalization.
102
 
103
+ Here we apply our framework to the Quora Question Pairs dataset (QQP), a dataset composed of question pairs where the task is to determine if the questions are paraphrases of each other (have the same meaning).
104
+
105
+ Our evaluation framework can be applied to any existing dataset, even those considered obsolete, to test model robustness. We hope our work will guide the development of robust models that do not rely on superficial biases and correlations.
106
+
107
+ #### Evaluation Results (DeBERTa-large)
108
+
109
+ ##### For splits based on minority examples:
110
+
111
+ | Training Data \ Test Data | Original test | Anti-biased test |
112
+ |---------------------------|---------------|------------------|
113
+ | Original training split | 93.0 | 77.6 |
114
+ | Biased training split | 87.0 | 36.8 |
115
+
116
+ ##### For splits based on partial-input model:
117
+
118
+ | Training Data \ Test Data | Original test | Anti-biased test |
119
+ |---------------------------|---------------|------------------|
120
+ | Original training split | 93.0 | 81.3 |
121
+ | Biased training split | 90.3 | 63.9 |
122
+
123
+ #### Loading the Data
124
+
125
+ ```
126
+ from datasets import load_dataset
127
+
128
+ # choose which bias detection method to use for the bias-amplified splits: either "minority_examples" or "partial_input"
129
+ dataset = load_dataset("bias-amplified-splits/qqp", "minority_examples")
130
+
131
+ # use the biased training split and anti-biased test split
132
+ train_dataset = dataset['train.biased']
133
+ eval_dataset = dataset['test.anti_biased']
134
+ ```
135
 
136
  ## Dataset Structure
137
 
138
  ### Data Instances
139
 
140
+ Data instances are taken directly from QQP (GLUE version), and re-split into biased and anti-biased subsets. Here is an example of an instance from the dataset:
141
+ ```
142
+ {
143
+ "idx": 56,
144
+ "question1": "How do I buy used car in India?",
145
+ "question2": "Which used car should I buy in India?",
146
+ "label": 0
147
+ }
148
+ ```
149
+
150
  ### Data Fields
151
 
152
+ - `idx`: unique identifier for the example within its original data splits (e.g., validation set)
153
+ - `question1`: a question asked on Quora
154
+ - `question2`: a question asked on Quora
155
+ - `label`: one of `0` and `1` (`not duplicate` and `duplicate`)
156
 
157
  ### Data Splits
158
 
159
+ Bias-amplified splits require a method to detect *biased* and *anti-biased* examples in datasets. We release bias-amplified splits based created with each of these two methods:
160
+ - **Minority examples**: A novel method we introduce that leverages representation learning and clustering for identifying anti-biased *minority examples* (Tu et al., 2020)—examples that defy common statistical patterns found in the rest of the dataset.
161
+ - **Partial-input baselines**: A common method for identifying biased examples containing annotation artifacts in a dataset, which examines the performance of models that are restricted to using only part of the input. Such models, if successful, are bound to rely on unintended or spurious patterns in the dataset.
162
+
163
+ Using each of the two methods, we split each of the original train and test splits into biased and anti-biased subsets. See the [paper](https://arxiv.org/abs/2305.18917) for more details.
164
+
165
+ #### Minority Examples
166
+
167
+ | Dataset Split | Number of Instances in Split |
168
+ |--------------------------|------------------------------|
169
+ | Train - biased | 297735 |
170
+ | Train - anti-biased | 66111 |
171
+ | Validation - biased | 32968 |
172
+ | Validation - anti-biased | 7462 |
173
+
174
+ #### Partial-input Baselines
175
+
176
+ | Dataset Split | Number of Instances in Split |
177
+ |--------------------------|------------------------------|
178
+ | Train - biased | 297735 |
179
+ | Train - anti-biased | 66111 |
180
+ | Validation - biased | 33084 |
181
+ | Validation - anti-biased | 7346 |
182
 
183
  ## Dataset Creation
184
 
185
  ### Curation Rationale
186
 
187
+ NLP models often rely on superficial cues known as *dataset biases* to achieve impressive performance, and can fail on examples where these biases do not hold. To develop more robust, unbiased models, recent work aims to filter bisased examples from training sets. We argue that in order to encourage the development of robust models, we should in fact **amplify** biases in the training sets, while adopting the challenge set approach and making test sets anti-biased. To implement our approach, we introduce a simple framework that can be applied automatically to any existing dataset to use it for testing model robustness.
188
 
189
  ### Annotations
190
 
191
+ #### Annotation process
192
+
193
+ No new annotations are required to create bias-amplified splits. Existing data instances are split into *biased* and *anti-biased* splits based on automatic model-based methods to detect such examples.
194
 
195
  ## Considerations for Using the Data
196
 
197
  ### Social Impact of Dataset
198
 
199
+ Bias-amplified splits were created to promote the development of robust NLP models that do not rely on superficial biases and correlations, and provide more challenging evaluation of existing systems.
200
 
201
  ### Discussion of Biases
202
 
203
+ We propose to use bias-amplified splits to complement benchmarks with challenging evaluation settings that test model robustness, in addition to the dataset’s main training and test sets. As such, while existing dataset biases are *amplified* during training with bias-amplified splits, these splits are intended primarily for model evaluation, to expose the bias-exploiting behaviors of models and to identify more robsut models and effective robustness interventions.
204
 
205
  ## Additional Information
206
 
207
  ### Dataset Curators
208
 
209
+ Bias-amplified splits were introduced by Yuval Reif and Roy Schwartz from the [Hebrew University of Jerusalem](https://schwartz-lab-huji.github.io).
210
+
211
+ QQP data was released by Quora and released under the GLUE benchmark.
212
 
213
  ### Citation Information
214