Datasets:

Modalities:
Text
Languages:
English
ArXiv:
Libraries:
Datasets
License:
yuvalr commited on
Commit
e3a78b0
·
1 Parent(s): 09251c4

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +91 -15
README.md CHANGED
@@ -96,14 +96,12 @@ size_categories:
96
  - [Table of Contents](#table-of-contents)
97
  - [Dataset Description](#dataset-description)
98
  - [Dataset Summary](#dataset-summary)
99
- - [Supported Tasks and Leaderboards](#supported-tasks-and-leaderboards)
100
  - [Dataset Structure](#dataset-structure)
101
  - [Data Instances](#data-instances)
102
  - [Data Fields](#data-fields)
103
  - [Data Splits](#data-splits)
104
  - [Dataset Creation](#dataset-creation)
105
  - [Curation Rationale](#curation-rationale)
106
- - [Source Data](#source-data)
107
  - [Annotations](#annotations)
108
  - [Considerations for Using the Data](#considerations-for-using-the-data)
109
  - [Social Impact of Dataset](#social-impact-of-dataset)
@@ -116,56 +114,134 @@ size_categories:
116
 
117
  - **Repository:** [Fighting Bias with Bias repo](https://github.com/schwartz-lab-nlp/fight-bias-with-bias)
118
  - **Paper:** [arXiv](https://arxiv.org/abs/2305.18917)
119
- - **Original Dataset's Paper:** [arXiv](https://arxiv.org/abs/1910.14599)
120
  - **Point of Contact:** [Yuval Reif](mailto:[email protected])
 
121
 
122
  ### Dataset Summary
123
 
124
- [More Information Needed]
125
 
126
- ### Supported Tasks and Leaderboards
127
 
128
- [More Information Needed]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
129
 
130
  ## Dataset Structure
131
 
132
  ### Data Instances
133
 
134
- [More Information Needed]
135
-
 
 
 
 
 
 
 
 
 
 
136
  ### Data Fields
137
 
138
- [More Information Needed]
 
 
 
 
 
139
 
140
  ### Data Splits
141
 
142
- [More Information Needed]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
143
 
144
  ## Dataset Creation
145
 
146
  ### Curation Rationale
147
 
148
- [More Information Needed]
149
 
150
  ### Annotations
151
 
152
- [More Information Needed]
 
 
153
 
154
  ## Considerations for Using the Data
155
 
156
  ### Social Impact of Dataset
157
 
158
- [More Information Needed]
159
 
160
  ### Discussion of Biases
161
 
162
- [More Information Needed]
163
 
164
  ## Additional Information
165
 
166
  ### Dataset Curators
167
 
168
- [More Information Needed]
 
 
169
 
170
  ### Citation Information
171
 
 
96
  - [Table of Contents](#table-of-contents)
97
  - [Dataset Description](#dataset-description)
98
  - [Dataset Summary](#dataset-summary)
 
99
  - [Dataset Structure](#dataset-structure)
100
  - [Data Instances](#data-instances)
101
  - [Data Fields](#data-fields)
102
  - [Data Splits](#data-splits)
103
  - [Dataset Creation](#dataset-creation)
104
  - [Curation Rationale](#curation-rationale)
 
105
  - [Annotations](#annotations)
106
  - [Considerations for Using the Data](#considerations-for-using-the-data)
107
  - [Social Impact of Dataset](#social-impact-of-dataset)
 
114
 
115
  - **Repository:** [Fighting Bias with Bias repo](https://github.com/schwartz-lab-nlp/fight-bias-with-bias)
116
  - **Paper:** [arXiv](https://arxiv.org/abs/2305.18917)
 
117
  - **Point of Contact:** [Yuval Reif](mailto:[email protected])
118
+ - **Original Dataset's Paper:** [ANLI](https://arxiv.org/abs/1910.14599)
119
 
120
  ### Dataset Summary
121
 
122
+ 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.
123
 
124
+ 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.
125
 
126
+ Here we apply our framework to Adversarial Natural Language Inference (ANLI), a large-scale NLI benchmark dataset. The dataset was collected via an iterative, adversarial human-and-model-in-the-loop procedure. ANLI is much more difficult than its predecessors including SNLI and MNLI.
127
+
128
+ 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.
129
+
130
+ #### Evaluation Results (DeBERTa-large)
131
+
132
+ ##### For splits based on minority examples:
133
+
134
+ | Training Data \ Test Data | Original test | Anti-biased test |
135
+ |---------------------------|---------------|------------------|
136
+ | Original training split | 67.5 | 58.3 |
137
+ | Biased training split | 60.6 | 21.4 |
138
+
139
+ ##### For splits based on partial-input model:
140
+
141
+ | Training Data \ Test Data | Original test | Anti-biased test |
142
+ |---------------------------|---------------|------------------|
143
+ | Original training split | 67.5 | 50.0 |
144
+ | Biased training split | 62.5 | 28.3 |
145
+
146
+ #### Loading the Data
147
+
148
+ ANLI contains three rounds of data collection, and each round has train/dev/test splits. We concatenated the splits from all rounds to create one train/dev/test splits.
149
+
150
+ ```
151
+ from datasets import load_dataset
152
+
153
+ # choose which bias detection method to use for the bias-amplified splits: either "minority_examples" or "partial_input"
154
+ dataset = load_dataset("bias-amplified-splits/anli", "minority_examples")
155
+
156
+ # use the biased training split and anti-biased test split
157
+ train_dataset = dataset['train.biased']
158
+ eval_dataset = dataset['test.anti_biased']
159
+ ```
160
 
161
  ## Dataset Structure
162
 
163
  ### Data Instances
164
 
165
+ Data instances are taken directly from ANLI, and re-split into biased and anti-biased subsets. Here is an example of an instance from the dataset:
166
+ ```
167
+ {
168
+ "round": "r1",
169
+ "idx": "20a331ee-cf54-4e8a-9ff9-6152cd679780",
170
+ "premise": "Milton Teagle "Richard" Simmons (born July 12, 1948) is an American fitness guru, actor, and comedian. He promotes weight-loss programs, prominently through his "Sweatin' to the Oldies" line of aerobics videos and is known for his eccentric, flamboyant, and energetic personality.",
171
+ "hypothesis": "Milton Teagle "Richard" Simmons created his "Sweatin' to the Oldies" line of aerobics videos without help or input from anyone else.",
172
+ "label": 1,
173
+ "reason": "The context gives no information as to how the "Sweatin' to the Oldies" videos are produced, Simmons may well produce them alone, or may produce them with a team. The system may have had difficulty with this because it is unlikely that Simmons produced the videos alone."
174
+ }
175
+ ```
176
+
177
  ### Data Fields
178
 
179
+ - `round`: which round of data collection the example comes from (one of `r1`, `r2` and `r3`)
180
+ - `uid`: unique identifier for the example.
181
+ - `premise`: a piece of text
182
+ - `hypothesis`: a piece of text that may be true, false, or whose truth conditions may not be knowable when compared to the premise
183
+ - `label`: one of `0`, `1` and `2` (`entailment`, `neutral`, and `contradiction`)
184
+ - `reason`: explanation why the label is true (only for some examples).
185
 
186
  ### Data Splits
187
 
188
+ 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:
189
+ - **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.
190
+ - **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.
191
+
192
+ 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.
193
+
194
+ #### Minority Examples
195
+
196
+ | Dataset Split | Number of Instances in Split |
197
+ |--------------------------|------------------------------|
198
+ | Train - biased | 134068 |
199
+ | Train - anti-biased | 28797 |
200
+ | Validation - biased | 2317 |
201
+ | Validation - anti-biased | 883 |
202
+ | Test - biased | 2262 |
203
+ | Test - anti-biased | 938 |
204
+
205
+ #### Partial-input Baselines
206
+
207
+ | Dataset Split | Number of Instances in Split |
208
+ |--------------------------|------------------------------|
209
+ | Train - biased | 134068 |
210
+ | Train - anti-biased | 28797 |
211
+ | Validation - biased | 2634 |
212
+ | Validation - anti-biased | 566 |
213
+ | Test - biased | 2634 |
214
+ | Test - anti-biased | 566 |
215
 
216
  ## Dataset Creation
217
 
218
  ### Curation Rationale
219
 
220
+ 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.
221
 
222
  ### Annotations
223
 
224
+ #### Annotation process
225
+
226
+ 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.
227
 
228
  ## Considerations for Using the Data
229
 
230
  ### Social Impact of Dataset
231
 
232
+ 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.
233
 
234
  ### Discussion of Biases
235
 
236
+ 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.
237
 
238
  ## Additional Information
239
 
240
  ### Dataset Curators
241
 
242
+ Bias-amplified splits were introduced by Yuval Reif and Roy Schwartz from the [Hebrew University of Jerusalem](https://schwartz-lab-huji.github.io).
243
+
244
+ ANLI was developed by Adina Williams, Tristan Thrush and Douwe Kiela.
245
 
246
  ### Citation Information
247