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:
14
+ - unknown
15
+ source_datasets:
16
+ - original
17
+ task_categories:
18
+ - data-to-text
19
+ task_ids:
20
+ - unknown
21
+ ---
22
+
23
+ # Dataset Card for GEM/totto
24
+
25
+ ## Dataset Description
26
+
27
+ - **Homepage:** n/a
28
+ - **Repository:** https://github.com/google-research-datasets/totto + [ToTTo Supplementary Repo
29
+ - **Paper:** https://aclanthology.org/2020.emnlp-main.89
30
+ - **Leaderboard:** https://github.com/google-research-datasets/totto
31
+ - **Point of Contact:** Ankur Parikh
32
+
33
+ ### Link to Main Data Card
34
+
35
+ You can find the main data card on the [GEM Website](https://gem-benchmark.com/data_cards/totto).
36
+
37
+ ### Dataset Summary
38
+
39
+ ToTTo is a high-quality English table-to-text dataset with more than 100,000 examples in which a table from Wikipedia with highlighted cells is paired with a sentence that describes the highlighted cells. All examples in the dataset were post-edited in multiple steps to ensure that the targets are fully faithful to the input information.
40
+
41
+ You can load the dataset via:
42
+ ```
43
+ import datasets
44
+ data = datasets.load_dataset('GEM/totto')
45
+ ```
46
+ The data loader can be found [here](https://huggingface.co/datasets/GEM/totto).
47
+
48
+ #### website
49
+ n/a
50
+
51
+ #### paper
52
+ [ACL Anthology](https://aclanthology.org/2020.emnlp-main.89)
53
+
54
+ #### authors
55
+ Ankur Parikh, Xuezhi Wang, Sebastian Gehrmann, Manaal Faruqui, Bhuwan Dhingra, Diyi Yang, Dipanjan Das
56
+
57
+ ## Dataset Overview
58
+
59
+ ### Where to find the Data and its Documentation
60
+
61
+ #### Download
62
+
63
+ <!-- info: What is the link to where the original dataset is hosted? -->
64
+ <!-- scope: telescope -->
65
+ [ToTTo Main Repo](https://github.com/google-research-datasets/totto) + [ToTTo Supplementary Repo](https://github.com/google-research/language/tree/master/language/totto)
66
+
67
+ #### Paper
68
+
69
+ <!-- info: What is the link to the paper describing the dataset (open access preferred)? -->
70
+ <!-- scope: telescope -->
71
+ [ACL Anthology](https://aclanthology.org/2020.emnlp-main.89)
72
+
73
+ #### BibTex
74
+
75
+ <!-- info: Provide the BibTex-formatted reference for the dataset. Please use the correct published version (ACL anthology, etc.) instead of google scholar created Bibtex. -->
76
+ <!-- scope: microscope -->
77
+ ```
78
+ @inproceedings{parikh-etal-2020-totto,
79
+ title = "{ToTTo}: A Controlled Table-To-Text Generation Dataset",
80
+ author = "Parikh, Ankur and
81
+ Wang, Xuezhi and
82
+ Gehrmann, Sebastian and
83
+ Faruqui, Manaal and
84
+ Dhingra, Bhuwan and
85
+ Yang, Diyi and
86
+ Das, Dipanjan",
87
+ booktitle = "Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP)",
88
+ month = nov,
89
+ year = "2020",
90
+ address = "Online",
91
+ publisher = "Association for Computational Linguistics",
92
+ url = "https://aclanthology.org/2020.emnlp-main.89",
93
+ doi = "10.18653/v1/2020.emnlp-main.89",
94
+ pages = "1173--1186",
95
+ abstract = "We present ToTTo, an open-domain English table-to-text dataset with over 120,000 training examples that proposes a controlled generation task: given a Wikipedia table and a set of highlighted table cells, produce a one-sentence description. To obtain generated targets that are natural but also faithful to the source table, we introduce a dataset construction process where annotators directly revise existing candidate sentences from Wikipedia. We present systematic analyses of our dataset and annotation process as well as results achieved by several state-of-the-art baselines. While usually fluent, existing methods often hallucinate phrases that are not supported by the table, suggesting that this dataset can serve as a useful research benchmark for high-precision conditional text generation.",
96
+ }
97
+ ```
98
+
99
+ #### Contact Name
100
+
101
+ <!-- quick -->
102
+ <!-- info: If known, provide the name of at least one person the reader can contact for questions about the dataset. -->
103
+ <!-- scope: periscope -->
104
+ Ankur Parikh
105
+
106
+ #### Contact Email
107
+
108
+ <!-- info: If known, provide the email of at least one person the reader can contact for questions about the dataset. -->
109
+ <!-- scope: periscope -->
110
+ totto@google.com
111
+
112
+ #### Has a Leaderboard?
113
+
114
+ <!-- info: Does the dataset have an active leaderboard? -->
115
+ <!-- scope: telescope -->
116
+ yes
117
+
118
+ #### Leaderboard Link
119
+
120
+ <!-- info: Provide a link to the leaderboard. -->
121
+ <!-- scope: periscope -->
122
+ https://github.com/google-research-datasets/totto
123
+
124
+ #### Leaderboard Details
125
+
126
+ <!-- info: Briefly describe how the leaderboard evaluates models. -->
127
+ <!-- scope: microscope -->
128
+ This dataset has an associated, active [leaderboard](https://github.com/google-research-datasets/totto#leaderboard) maintained by the authors.
129
+ The test set ground truth targets / references are private, i.e they are not publicly shared or downloadable - hence, leaderboard submission is necessary for test set evaluation.
130
+ To evaluate your model on the dev or test set AND/OR submit to the leaderboard, you need to submit your model files through this [form](https://forms.gle/AcF9TRqWrPhPzztt7) (The form provides an option to opt-out of going on the leaderboard).
131
+
132
+ The leaderboard reports three sets of BLEU, PARENT and BLEURT scores for each submission - on the overall test set, the *Overlap* subset of the test set and the *non-Overlap* subset of the test set.
133
+
134
+
135
+
136
+ ### Languages and Intended Use
137
+
138
+ #### Multilingual?
139
+
140
+ <!-- quick -->
141
+ <!-- info: Is the dataset multilingual? -->
142
+ <!-- scope: telescope -->
143
+ no
144
+
145
+ #### Covered Dialects
146
+
147
+ <!-- info: What dialects are covered? Are there multiple dialects per language? -->
148
+ <!-- scope: periscope -->
149
+ No specific dialects. The original language is from Wikipedia and it was post-edited by crowdraters
150
+
151
+ #### Covered Languages
152
+
153
+ <!-- quick -->
154
+ <!-- info: What languages/dialects are covered in the dataset? -->
155
+ <!-- scope: telescope -->
156
+ `English`
157
+
158
+ #### Whose Language?
159
+
160
+ <!-- info: Whose language is in the dataset? -->
161
+ <!-- scope: periscope -->
162
+ The language is post-edited English only (BCP-47: `en`) Wikipedia text. No demographic information about annotators is provided.
163
+ Some amounts of what may be called non-English text, including characters such as French accents or Cyrillic characters, could sometimes occur, especially through fields with entity names as values in the input table cells.
164
+
165
+
166
+ #### License
167
+
168
+ <!-- quick -->
169
+ <!-- info: What is the license of the dataset? -->
170
+ <!-- scope: telescope -->
171
+ cc-by-sa-3.0: Creative Commons Attribution Share Alike 3.0 Unported
172
+
173
+ #### Intended Use
174
+
175
+ <!-- info: What is the intended use of the dataset? -->
176
+ <!-- scope: microscope -->
177
+ ToTTo is a Table-to-Text NLG task, as the paper title says. The task is as follows: Given a Wikipedia table with row names, column names and table cells, with a subset of cells highlighted, generate a natural language description for the highlighted part of the table . The table need not be exactly rectangular in that - cells can sometimes be multi-row or multi-column.
178
+
179
+ An earlier example of a Table-to-Text NLG task is [Wikibio](https://arxiv.org/abs/1603.07771) - here the inputs were Wikipedia infoboxes (from the top right corner of entity-related Wiki pages). In contrast, ToTTo mostly has Wikipedia tables from the main article content itself. In general, Table-To-Text NLG tasks can be seen as a subclass of Data-To-Text NLG tasks - where the task is to generate natural language descriptions of inputs which are in the form of structured or semi-structured data. In general, all Data-To-Text NLG tasks need not have an explicit table or other structure - e.g the input in [WebNLG](https://www.aclweb.org/anthology/W16-6626.pdf) is simply a list of triples.
180
+
181
+ Importantly, ToTTo differs from earlier examples of Table-To-Text NLG in that:
182
+
183
+ 1. It does not suffer from the problem of divergent references - where ground truth descriptions themselves have additional information not found in the table. ToTTo overcomes this by having a multi-step annotation process to edit the initial, free-form table descriptions (which are from Wikipedia) to make them faithful, unambiguous and independent of article context.
184
+
185
+ 2. Since it provides **control** in the form of highlighted table cells, it prevents the problem of there being a large number of valid descriptions focussing on different parts of the table.
186
+
187
+
188
+ #### Primary Task
189
+
190
+ <!-- info: What primary task does the dataset support? -->
191
+ <!-- scope: telescope -->
192
+ Data-to-Text
193
+
194
+ #### Communicative Goal
195
+
196
+ <!-- quick -->
197
+ <!-- info: Provide a short description of the communicative goal of a model trained for this task on this dataset. -->
198
+ <!-- scope: periscope -->
199
+ The speaker is required to produce a single, coherent English sentence that describes the highlighted cells in the given table, also using metadata and any other information from the table as applicable.
200
+
201
+
202
+
203
+ ### Credit
204
+
205
+ #### Curation Organization Type(s)
206
+
207
+ <!-- info: In what kind of organization did the dataset curation happen? -->
208
+ <!-- scope: telescope -->
209
+ `industry`
210
+
211
+ #### Curation Organization(s)
212
+
213
+ <!-- info: Name the organization(s). -->
214
+ <!-- scope: periscope -->
215
+ Google Research
216
+
217
+ #### Dataset Creators
218
+
219
+ <!-- info: Who created the original dataset? List the people involved in collecting the dataset and their affiliation(s). -->
220
+ <!-- scope: microscope -->
221
+ Ankur Parikh, Xuezhi Wang, Sebastian Gehrmann, Manaal Faruqui, Bhuwan Dhingra, Diyi Yang, Dipanjan Das
222
+
223
+ #### Funding
224
+
225
+ <!-- info: Who funded the data creation? -->
226
+ <!-- scope: microscope -->
227
+ Google Research
228
+
229
+ #### Who added the Dataset to GEM?
230
+
231
+ <!-- info: Who contributed to the data card and adding the dataset to GEM? List the people+affiliations involved in creating this data card and who helped integrate this dataset into GEM. -->
232
+ <!-- scope: microscope -->
233
+ Varun Gangal created the initial data card and Yacine Jernite wrote the data loader. The data card was updated with new splits by Simon Mille. Sebastian Gehrmann ported the data card and loader from the v1 to the v2 version and extended it with the new fields.
234
+
235
+
236
+ ### Dataset Structure
237
+
238
+ #### Data Fields
239
+
240
+ <!-- info: List and describe the fields present in the dataset. -->
241
+ <!-- scope: telescope -->
242
+ - The `table` field is a `List[List[Dict]]` in row-major order, with outer lists representing rows and the inner lists columns.
243
+ - Each `Dict` has the fields `column_span: int`, `is_header: bool`, `row_span: int`, and `value: str`.
244
+ - Table metadata consists of `table_page_title`, `table_section_title` and `table_section_texts`
245
+ - The `highlighted_cells` are represented as `List[[row_index,column_index]]`, with each `[row_index,column_index]` indicating that `table[row_index][column_index]` is highlighted.
246
+ - `example_id` is the unique id per example.
247
+ - `sentence_annotations[final_sentence]` which is the table description/generation target
248
+
249
+
250
+
251
+ #### Reason for Structure
252
+
253
+ <!-- info: How was the dataset structure determined? -->
254
+ <!-- scope: microscope -->
255
+ The structure is aimed to encode highlighted tables in a way that allows rows and columns to span multiple fields in width. The other fields are meta-data about the source and the annotations
256
+
257
+ #### How were labels chosen?
258
+
259
+ <!-- info: How were the labels chosen? -->
260
+ <!-- scope: microscope -->
261
+ The initial table-description pairs are tables from Wikipedia articles, extracted through heuristics such as Number Matching (tables and sentences that overlap with a non-date number of atleast 3 non-zero digits) (Refer to Section 4 of the paper for more)
262
+
263
+ 1. Table Readability: Tables which are deemed non-readable (due to foreign language, poor formatting etc - a very small fraction of 0.5%) are removed from the dataset here.
264
+ 2. Cell Highlighting: The annotator highlights the cells of the table which support the description.
265
+ 3. Deletion: The annotator removes phrases in the description which are not supported by the highlighted cells
266
+ 4. Decontextualization: Descriptions may contain pronouns or other forms of anaphora, or other phenomena which depend on the overall article topic - these are fixed by replacement (e.g replacing pronouns with the entity, provided it occurs in the table). The replacements allowed are limited to one, and annotators are also instructed to conserve fluency.
267
+ 5. Secondary Annotation: A second set of annotators is shown the output of Stage 4, and asked to fix it if required to ensure it is grammatical.
268
+
269
+
270
+ #### Example Instance
271
+
272
+ <!-- info: Provide a JSON formatted example of a typical instance in the dataset. -->
273
+ <!-- scope: periscope -->
274
+ The main repository's `README.md` already provides a thorough walkthrough of data instances and fields [here](https://github.com/google-research-datasets/totto#dataset-description)
275
+
276
+ Below is the instance for a table from the wiki-page for the musical artist _Weird Al' Yankovic_ , likely listing his on-television appearances.
277
+
278
+ ```
279
+ {
280
+ "table_page_title": "'Weird Al' Yankovic",
281
+ "table_webpage_url": "https://en.wikipedia.org/wiki/%22Weird_Al%22_Yankovic",
282
+ "table_section_title": "Television",
283
+ "table_section_text": "",
284
+ "table": "[Described below]",
285
+ "highlighted_cells": [[22, 2], [22, 3], [22, 0], [22, 1], [23, 3], [23, 1], [23, 0]],
286
+ "example_id": 12345678912345678912,
287
+ "sentence_annotations": [{"original_sentence": "In 2016, Al appeared in 2 episodes of BoJack Horseman as Mr. Peanutbutter's brother, Captain Peanutbutter, and was hired to voice the lead role in the 2016 Disney XD series Milo Murphy's Law.",
288
+ "sentence_after_deletion": "In 2016, Al appeared in 2 episodes of BoJack Horseman as Captain Peanutbutter, and was hired to the lead role in the 2016 series Milo Murphy's Law.",
289
+ "sentence_after_ambiguity": "In 2016, Al appeared in 2 episodes of BoJack Horseman as Captain Peanutbutter, and was hired for the lead role in the 2016 series Milo Murphy's 'Law.",
290
+ "final_sentence": "In 2016, Al appeared in 2 episodes of BoJack Horseman as Captain Peanutbutter and was hired for the lead role in the 2016 series Milo Murphy's Law."}],
291
+ }
292
+ ```
293
+
294
+ The `table` field is expanded as below:
295
+
296
+ ```
297
+ [
298
+ [
299
+ {
300
+ "column_span": 1,
301
+ "is_header": true,
302
+ "row_span": 1,
303
+ "value": "Year"},
304
+ { "column_span": 1,
305
+ "is_header": true,
306
+ "row_span": 1,
307
+ "value": "Title"},
308
+ { "column_span": 1,
309
+ "is_header": true,
310
+ "row_span": 1,
311
+ "value": "Role"},
312
+ { "column_span": 1,
313
+ "is_header": true,
314
+ "row_span": 1,
315
+ "value": "Notes"}
316
+ ],
317
+ [
318
+ { "column_span": 1,
319
+ "is_header": false,
320
+ "row_span": 1,
321
+ "value": "1997"},
322
+ { "column_span": 1,
323
+ "is_header": false,
324
+ "row_span": 1,
325
+ "value": "Eek! The Cat"},
326
+ { "column_span": 1,
327
+ "is_header": false,
328
+ "row_span": 1,
329
+ "value": "Himself"},
330
+ { "column_span": 1,
331
+ "is_header": false,
332
+ "row_span": 1,
333
+ "value": "Episode: 'The FugEektive'"}
334
+ ], ...
335
+ ]
336
+ ```
337
+
338
+ The [Supplementary Repo](https://github.com/google-research/language/tree/master/language/totto) also provides browsable samples under its `sample/` folder. It additionally provides HTML visualization scripts with their outputs located under the aforementioned folder. The instructions to access and visualize these samples can also be found [here](https://github.com/google-research/language/tree/master/language/totto#visualizing-sample-data).
339
+
340
+
341
+ #### Data Splits
342
+
343
+ <!-- info: Describe and name the splits in the dataset if there are more than one. -->
344
+ <!-- scope: periscope -->
345
+ The dataset consists of 120,000 train examples and equi-sized dev and test sets with 7700 examples.
346
+ Refer to Table 5 in the paper for a more extensive list of properties about table size, target vocabulary etc and their aggregates.
347
+
348
+
349
+ #### Splitting Criteria
350
+
351
+ <!-- info: Describe any criteria for splitting the data, if used. If there are differences between the splits (e.g., if the training annotations are machine-generated and the dev and test ones are created by humans, or if different numbers of annotators contributed to each example), describe them here. -->
352
+ <!-- scope: microscope -->
353
+ The dev and test splits are further equally distributed between _Overlap_ and _non-Overlap_ .
354
+ The examples in the _Overlap_ set are harder on account of the domain shift resulting from them having none of their header (row and column) names in common with those seen during training.
355
+
356
+ Refer to Table 5 in the paper for a more extensive list of properties about table size, target vocabulary etc and their aggregates.
357
+
358
+
359
+ ####
360
+
361
+ <!-- info: What does an outlier of the dataset in terms of length/perplexity/embedding look like? -->
362
+ <!-- scope: microscope -->
363
+ There are some very large tables in the dataset with thousands of rows. Table 7 shows some of the challenges of the dataset, showing that very few examples require access to the table description itself which makes those examples an outlier.
364
+
365
+
366
+
367
+ ## Dataset in GEM
368
+
369
+ ### Rationale for Inclusion in GEM
370
+
371
+ #### Why is the Dataset in GEM?
372
+
373
+ <!-- info: What does this dataset contribute toward better generation evaluation and why is it part of GEM? -->
374
+ <!-- scope: microscope -->
375
+ ToTTo is one of the two datasets representing Table-to-Text NLG in GEM, the other one being [DART](https://arxiv.org/pdf/2007.02871.pdf). Unlike DART, which combines datasets from multiple sources and furnishes them in a unified setting, ToTTo is from a homogeneous source. As explained in the Task Summary above, it also has an annotation process explicitly crafted to reduce divergent descriptions, which is not true of DART.
376
+
377
+ Furthermore, ToTTo is also an instance of a **controlled** generation task - where in addition to the input (in this case the table) an additional **control** (in this case the highlighted cells) is given as an additional goal for the generation. The DART task formulation does not include controls.
378
+
379
+
380
+ #### Similar Datasets
381
+
382
+ <!-- info: Do other datasets for the high level task exist? -->
383
+ <!-- scope: telescope -->
384
+ yes
385
+
386
+ #### Unique Language Coverage
387
+
388
+ <!-- info: Does this dataset cover other languages than other datasets for the same task? -->
389
+ <!-- scope: periscope -->
390
+ no
391
+
392
+ #### Difference from other GEM datasets
393
+
394
+ <!-- info: What else sets this dataset apart from other similar datasets in GEM? -->
395
+ <!-- scope: microscope -->
396
+ The input is much more complex and the quality much better than that of comparable datasets. The highlighted table cells provide a unique challenge to models.
397
+
398
+ #### Ability that the Dataset measures
399
+
400
+ <!-- info: What aspect of model ability can be measured with this dataset? -->
401
+ <!-- scope: periscope -->
402
+ Reasoning, surface realization
403
+
404
+
405
+ ### GEM-Specific Curation
406
+
407
+ #### Modificatied for GEM?
408
+
409
+ <!-- info: Has the GEM version of the dataset been modified in any way (data, processing, splits) from the original curated data? -->
410
+ <!-- scope: telescope -->
411
+ yes
412
+
413
+ #### Additional Splits?
414
+
415
+ <!-- info: Does GEM provide additional splits to the dataset? -->
416
+ <!-- scope: telescope -->
417
+ yes
418
+
419
+ #### Split Information
420
+
421
+ <!-- info: Describe how the new splits were created -->
422
+ <!-- scope: periscope -->
423
+ 9 challenge sets for ToTTo were added to the GEM evaluation suite, 8 created specifically for the task and 1 coming from the original data.
424
+
425
+ 1. We created subsets of the training and development sets of 500 randomly selected inputs each.
426
+ 2. We applied input scrambling on a subset of 500 randomly selected test instances; the order of the highlighted cells was randomly reassigned.
427
+ 3. For the input size, we created subpopulations based on the number of input highlighted cells in the whole table.
428
+
429
+ | Input length | Frequency English |
430
+ |---------------|-------------------|
431
+ | 1 | 898 |
432
+ | 2 | 1850 |
433
+ | 3 | 2221 |
434
+ | 4 | 1369 |
435
+ | 5 | 483 |
436
+ | 6 | 379 |
437
+ | 7 | 124 |
438
+ | 8 | 128 |
439
+ | 9 | 61 |
440
+ | 10 | 40 |
441
+ | 11 | 20 |
442
+ | 12 | 26 |
443
+ | 13 | 10 |
444
+ | 14 | 14 |
445
+ | 15 | 14 |
446
+ | 16 | 7 |
447
+ | 17 | 6 |
448
+ | 18 | 5 |
449
+ | 19 | 5 |
450
+ | 20 | 5 |
451
+ | 21 | 4 |
452
+ | 22 | 1 |
453
+ | 23 | 2 |
454
+ | 24 | 4 |
455
+ | 25 | 1 |
456
+ | 26...496 | 1 |
457
+
458
+ 4. We also divided the test set according to the size of the whole table, based on the idea that larger tables represent a bigger space to take into account when generating the highlighted cells; a larger table could be more challenging to generate accurate text than a smaller table. There are 693 different table sizes, ranging from 2 to 15834 cells.
459
+
460
+ | Table size |Frequency English|
461
+ |-----------------|-----------------|
462
+ | 2 | 71 |
463
+ | 3 | 52 |
464
+ | 4 | 36 |
465
+ | 5 | 41 |
466
+ | 6 | 144 |
467
+ | 7 | 47 |
468
+ | 8 | 59 |
469
+ | 9 | 105 |
470
+ | 10 | 162 |
471
+ | 11 | 36 |
472
+ | 12 | 158 |
473
+ | 13 | 35 |
474
+ | 14 | 79 |
475
+ | 15 | 136 |
476
+ | 16 | 111 |
477
+ | 17 | 48 |
478
+ | 18 | 123 |
479
+ | 19 | 29 |
480
+ | 20 | 112 |
481
+ | 21 | 91 |
482
+ | 22 | 17 |
483
+ | 23 | 7 |
484
+ | 24 | 169 |
485
+ | 25 | 56 |
486
+ | 26 | 12 |
487
+ | 27 | 40 |
488
+ | 28 | 77 |
489
+ | 29 | 7 |
490
+ | 30 | 122 |
491
+ | 31 | 4 |
492
+ | 32 | 49 |
493
+ | 33 | 21 |
494
+ | 34 | 7 |
495
+ | 35 | 103 |
496
+ | 36 | 131 |
497
+ | 37 | 10 |
498
+ | 38 | 6 |
499
+ | 39 | 26 |
500
+ | 40 | 110 |
501
+ | 41 | 1 |
502
+ | 42 | 54 |
503
+ | 43 | 6 |
504
+ | 44 | 47 |
505
+ | 45 | 79 |
506
+ | 46 | 4 |
507
+ | 47 | 2 |
508
+ | 48 | 114 |
509
+ | 49 | 18 |
510
+ | 50 | 55 |
511
+ | 51 | 11 |
512
+ | 52 | 43 |
513
+ | 54 | 80 |
514
+ | 55 | 73 |
515
+ | 56 | 64 |
516
+ | 57 | 12 |
517
+ | 58 | 1 |
518
+ | 60 | 114 |
519
+ | 61 | 4 |
520
+ | 63 | 39 |
521
+ | 64 | 36 |
522
+ | 65 | 62 |
523
+ | 66 | 48 |
524
+ | 67 | 1 |
525
+ | 68 | 36 |
526
+ | 69 | 6 |
527
+ | 70 | 81 |
528
+ | 72 | 76 |
529
+ | 73 | 1 |
530
+ | 74 | 1 |
531
+ | 75 | 44 |
532
+ | 76 | 33 |
533
+ | 77 | 30 |
534
+ | 78 | 66 |
535
+ | 79 | 1 |
536
+ | 80 | 83 |
537
+ | 81 | 12 |
538
+ | 82 | 1 |
539
+ | 84 | 80 |
540
+ | 85 | 25 |
541
+ | 86 | 1 |
542
+ | 87 | 3 |
543
+ | 88 | 35 |
544
+ | 90 | 78 |
545
+ | 91 | 18 |
546
+ | 92 | 22 |
547
+ | 93 | 5 |
548
+ | 94 | 2 |
549
+ | 95 | 31 |
550
+ | 96 | 50 |
551
+ | 98 | 11 |
552
+ | 99 | 14 |
553
+ | 100 | 48 |
554
+ | 102 | 24 |
555
+ | 104 | 29 |
556
+ | 105 | 36 |
557
+ | 106 | 2 |
558
+ | 108 | 51 |
559
+ | 110 | 31 |
560
+ | ...8000+ | (up to 10) |
561
+
562
+ 5. We also created three splits based on the subset of test examples in pages about people.
563
+ We then used the structured information in WikiData to identify the following information:
564
+
565
+ - gender (male, and female),
566
+ - nationality grouped by continent (Africa, Asia, Europe, North America, Oceania, and South America)
567
+ - ethnicity (African American and all USA)
568
+
569
+ The categories within gender, ethnicity, and nationality were chosen based on data availability; The ToTTo dataset includes mostly tables that do not focus on people. As a result, only seven people in the original test set are marked as having a non-binary gender. Similar sparsity informed the grouping of nationalities by continent – only 19 countries are represented by more than 10 people in the test set. In case a person has citizenships across multiple continents, we may include the person in any of the included continents.
570
+
571
+ Finally, ethnicity is very sparsely annotated in WikiData; only 150 test examples in ToTTo have this information and 128 of these are African Americans. We thus are unable to compare the performance on, e.g., Yoruba or Punjabi people, both of which have fewer than five instances. Another caveat here is that only 21 of the 128 people are female. We thus compare the African American population to results on a subset that includes all US citizens.
572
+
573
+
574
+
575
+
576
+ #### Split Motivation
577
+
578
+ <!-- info: What aspects of the model's generation capacities were the splits created to test? -->
579
+ <!-- scope: periscope -->
580
+ generalization, fairness, robustness
581
+
582
+
583
+ ### Getting Started with the Task
584
+
585
+ #### Pointers to Resources
586
+
587
+ <!-- info: Getting started with in-depth research on the task. Add relevant pointers to resources that researchers can consult when they want to get started digging deeper into the task. -->
588
+ <!-- scope: microscope -->
589
+ - The highest spot on the leaderboard is currently held by an anonymous method, with BLEU=49.2, PARENT=58.7 and BLEURT=0.249 on the _Overall_ test set.
590
+ - The **highest scoring non-anonymous** method is the T5-based method of [Kale, 2020](https://arxiv.org/abs/2005.10433). This method uses a simple row-major linearization scheme to convert the table (it chooses only the highlighted cells and ignores the other cells - table titles and section titles are prefixed at the start of the respective section table) to a flat string. The linearized input - output description pairs from training examples are then used to finetune T5, with BLEU being used as the dev metric to pick checkpoints, and beam search with beam size 10 being the decoding method.
591
+
592
+ Though the best numbers from this method are naturally from the largest T5-pretrained architecture (T5-3B), the paper shows improvements over the next-highest BERT-to-BERT method even when using T5-Base or T5-Small, which have the same and lesser parameters than BERT-to-BERT respectively.
593
+
594
+ - The [Supplementary Repo](https://github.com/google-research/language/tree/master/language/totto) provides several useful modules to get started with for new approach implementation:
595
+
596
+ 1. Code for the particular preprocessing / linearization scheme used to linearize the tables into flat sequences for the baseline approaches described in the paper has been described and shared [herein](https://github.com/google-research/language/tree/master/language/totto#baseline-preprocessing)
597
+
598
+ 2. An [evaluation script](https://github.com/google-research/language/tree/master/language/totto#running-the-evaluation-scripts-locally) for locally scoring BLEU and PARENT system outputs on dev (or train) sets. Since BLEURT is a model-based metric, a [slightly separate](https://github.com/google-research/language/tree/master/language/totto#running-the-evaluation-scripts-locall://github.com/google-research/language/tree/master/language/totto#computing-the-bleurt-score) set of instructions is provided to evaluate on the same.
599
+
600
+
601
+
602
+
603
+ ## Previous Results
604
+
605
+ ### Previous Results
606
+
607
+ #### Measured Model Abilities
608
+
609
+ <!-- info: What aspect of model ability can be measured with this dataset? -->
610
+ <!-- scope: telescope -->
611
+ Reasoning, surface realization
612
+
613
+ #### Metrics
614
+
615
+ <!-- info: What metrics are typically used for this task? -->
616
+ <!-- scope: periscope -->
617
+ `BLEU`, `BLEURT`, `Other: Other Metrics`
618
+
619
+ #### Other Metrics
620
+
621
+ <!-- info: Definitions of other metrics -->
622
+ <!-- scope: periscope -->
623
+ Parent: a metric that measures the F-1 score of overlap between input content words and those used in references and those in generated text while ignoring the general surface form. It can thus measure the faithfulness much better than metrics that measure overlap with a reference
624
+
625
+ #### Proposed Evaluation
626
+
627
+ <!-- info: List and describe the purpose of the metrics and evaluation methodology (including human evaluation) that the dataset creators used when introducing this task. -->
628
+ <!-- scope: microscope -->
629
+ The metrics are used as in the leaderboard. The original paper additionally conducted a human evaluation focusing on fluency, faithfulness, and coverage.
630
+ Faithfulness was measured as whether facts in the text are not supported by the input, and coverage as the number of highlighted cells that were considered. They thus represent precision and recall of the content.
631
+
632
+ #### Previous results available?
633
+
634
+ <!-- info: Are previous results available? -->
635
+ <!-- scope: telescope -->
636
+ yes
637
+
638
+ #### Relevant Previous Results
639
+
640
+ <!-- info: What are the most relevant previous results for this task/dataset? -->
641
+ <!-- scope: microscope -->
642
+ See leaderboard.
643
+
644
+
645
+
646
+ ## Dataset Curation
647
+
648
+ ### Original Curation
649
+
650
+ #### Original Curation Rationale
651
+
652
+ <!-- info: Original curation rationale -->
653
+ <!-- scope: telescope -->
654
+ Tables occurring in Wikipedia articles were chosen as the data source with the following reasons in mind:
655
+
656
+ 1. Wide coverage in terms of both vocabulary and concepts.
657
+ 2. Wikipedia tables are not confined to a regular structure, with multi-row or multi-column cells occurring with a sufficient frequency.
658
+ 3. Likely to contain reasonable-quality, natural text descriptions in the proximity of the table, which are also extractable by heuristics. (see the start of Section 4 for the heuristics used)
659
+
660
+
661
+ To prevent an overlap with the earlier [Wikibio](https://arxiv.org/abs/1603.07771) dataset which focussed on Infobox-first sentence pairs from Wikipedia biography articles, the authors avoid using Infoboxes as a data source.
662
+
663
+ The overall curation process of initially collecting free text and then annotator-revising it, was designed to combine the advantages of free-form text descriptions (which are fluent, high-quality and unhurriedly written, but also divergent and unfaithful) with annotator descriptions (which can be tailored to be faithful and to conform exactly to desired task requirements)
664
+
665
+
666
+ #### Communicative Goal
667
+
668
+ <!-- info: What was the communicative goal? -->
669
+ <!-- scope: periscope -->
670
+ The speaker is required to produce a single, coherent English sentence that describes the highlighted cells in the given table, also using metadata and any other information from the table as applicable.
671
+
672
+
673
+ #### Sourced from Different Sources
674
+
675
+ <!-- info: Is the dataset aggregated from different data sources? -->
676
+ <!-- scope: telescope -->
677
+ yes
678
+
679
+ #### Source Details
680
+
681
+ <!-- info: List the sources (one per line) -->
682
+ <!-- scope: periscope -->
683
+ wikipedia.org
684
+
685
+
686
+ ### Language Data
687
+
688
+ #### How was Language Data Obtained?
689
+
690
+ <!-- info: How was the language data obtained? -->
691
+ <!-- scope: telescope -->
692
+ `Crowdsourced`
693
+
694
+ #### Where was it crowdsourced?
695
+
696
+ <!-- info: If crowdsourced, where from? -->
697
+ <!-- scope: periscope -->
698
+ `Other crowdworker platform`
699
+
700
+ #### Language Producers
701
+
702
+ <!-- info: What further information do we have on the language producers? -->
703
+ <!-- scope: microscope -->
704
+ The basic source language producers are Wikipedia authors and/or editors, since the annotation starts with the natural text description near the Wikipedia table.
705
+ The auxiliary source language producers are the annotators (two per example) who iteratively revise these descriptions to make them unambiguous and faithful to a subset of highlighted cells in the table.
706
+
707
+
708
+ #### Data Validation
709
+
710
+ <!-- info: Was the text validated by a different worker or a data curator? -->
711
+ <!-- scope: telescope -->
712
+ validated by crowdworker
713
+
714
+ #### Data Preprocessing
715
+
716
+ <!-- info: How was the text data pre-processed? (Enter N/A if the text was not pre-processed) -->
717
+ <!-- scope: microscope -->
718
+ The initial table-description pairs are tables from Wikipedia articles, extracted through heuristics such as Number Matching (tables and sentences that overlap with a non-date number of atleast 3 non-zero digits) (Refer to Section 4 of the paper for more)
719
+
720
+ 1. Table Readability: Tables which are deemed non-readable (due to foreign language, poor formatting etc - a very small fraction of 0.5%) are removed from the dataset here.
721
+ 2. Cell Highlighting: The annotator highlights the cells of the table which support the description.
722
+ 3. Deletion: The annotator removes phrases in the description which are not supported by the highlighted cells
723
+ 4. Decontextualization: Descriptions may contain pronouns or other forms of anaphora, or other phenomena which depend on the overall article topic - these are fixed by replacement (e.g replacing pronouns with the entity, provided it occurs in the table). The replacements allowed are limited to one, and annotators are also instructed to conserve fluency.
724
+ 5. Secondary Annotation: A second set of annotators is shown the output of Stage 4, and asked to fix it if required to ensure it is grammatical.
725
+
726
+ The paper does not specifically describe the annotation platform or location profiles of the annotators.
727
+
728
+
729
+
730
+ #### Was Data Filtered?
731
+
732
+ <!-- info: Were text instances selected or filtered? -->
733
+ <!-- scope: telescope -->
734
+ algorithmically
735
+
736
+ #### Filter Criteria
737
+
738
+ <!-- info: What were the selection criteria? -->
739
+ <!-- scope: microscope -->
740
+ After construction of the splits, the data curators filtered training examples that had rare table header combinations (<=5 examples) and which had an overlap with the validation or test splits.
741
+
742
+
743
+ ### Structured Annotations
744
+
745
+ #### Additional Annotations?
746
+
747
+ <!-- quick -->
748
+ <!-- info: Does the dataset have additional annotations for each instance? -->
749
+ <!-- scope: telescope -->
750
+ none
751
+
752
+ #### Annotation Service?
753
+
754
+ <!-- info: Was an annotation service used? -->
755
+ <!-- scope: telescope -->
756
+ no
757
+
758
+
759
+ ### Consent
760
+
761
+ #### Any Consent Policy?
762
+
763
+ <!-- info: Was there a consent policy involved when gathering the data? -->
764
+ <!-- scope: telescope -->
765
+ yes
766
+
767
+ #### Consent Policy Details
768
+
769
+ <!-- info: What was the consent policy? -->
770
+ <!-- scope: microscope -->
771
+ Annotators were full time employees that were aware of the goal of the project and consented to having the data released as part of the dataset.
772
+
773
+
774
+ ### Private Identifying Information (PII)
775
+
776
+ #### Contains PII?
777
+
778
+ <!-- quick -->
779
+ <!-- info: Does the source language data likely contain Personal Identifying Information about the data creators or subjects? -->
780
+ <!-- scope: telescope -->
781
+ no PII
782
+
783
+ #### Justification for no PII
784
+
785
+ <!-- info: Provide a justification for selecting `no PII` above. -->
786
+ <!-- scope: periscope -->
787
+ Since the source data is from wikipedia, only data in the public domain is included in the dataset.
788
+
789
+
790
+ ### Maintenance
791
+
792
+ #### Any Maintenance Plan?
793
+
794
+ <!-- info: Does the original dataset have a maintenance plan? -->
795
+ <!-- scope: telescope -->
796
+ yes
797
+
798
+ #### Maintenance Plan Details
799
+
800
+ <!-- info: Describe the original dataset's maintenance plan. -->
801
+ <!-- scope: microscope -->
802
+ For submissions, you can delete your data by emailing totto@google.com from the email account used to sign up for the submission. Deletion requests will be responded to within 60 days.
803
+
804
+ #### Maintainer Contact Information
805
+
806
+ <!-- info: Provide contact information of a person responsible for the dataset maintenance -->
807
+ <!-- scope: periscope -->
808
+ Ankur Parikh (aparikh@google.com)
809
+
810
+ #### Any Contestation Mechanism?
811
+
812
+ <!-- info: Does the maintenance plan include a contestation mechanism allowing individuals to request removal fo content? -->
813
+ <!-- scope: periscope -->
814
+ form submission
815
+
816
+ #### Contestation Form Link
817
+
818
+ <!-- info: Provide the form link or contact information -->
819
+ <!-- scope: periscope -->
820
+ totto@google.com
821
+
822
+
823
+
824
+ ## Broader Social Context
825
+
826
+ ### Previous Work on the Social Impact of the Dataset
827
+
828
+ #### Usage of Models based on the Data
829
+
830
+ <!-- info: Are you aware of cases where models trained on the task featured in this dataset ore related tasks have been used in automated systems? -->
831
+ <!-- scope: telescope -->
832
+ no
833
+
834
+
835
+ ### Impact on Under-Served Communities
836
+
837
+ #### Addresses needs of underserved Communities?
838
+
839
+ <!-- info: Does this dataset address the needs of communities that are traditionally underserved in language technology, and particularly language generation technology? Communities may be underserved for exemple because their language, language variety, or social or geographical context is underepresented in NLP and NLG resources (datasets and models). -->
840
+ <!-- scope: telescope -->
841
+ no
842
+
843
+
844
+ ### Discussion of Biases
845
+
846
+ #### Any Documented Social Biases?
847
+
848
+ <!-- info: Are there documented social biases in the dataset? Biases in this context are variations in the ways members of different social categories are represented that can have harmful downstream consequences for members of the more disadvantaged group. -->
849
+ <!-- scope: telescope -->
850
+ yes
851
+
852
+ #### Links and Summaries of Analysis Work
853
+
854
+ <!-- info: Provide links to and summaries of works analyzing these biases. -->
855
+ <!-- scope: microscope -->
856
+ The original work as well as our GEM paper analyzes some biases
857
+
858
+ #### Are the Language Producers Representative of the Language?
859
+
860
+ <!-- info: Does the distribution of language producers in the dataset accurately represent the full distribution of speakers of the language world-wide? If not, how does it differ? -->
861
+ <!-- scope: periscope -->
862
+ This dataset is created using tables and the table cell contents may hence naturally exhibit biases which have been found to exist in Wikipedia such as some forms of gender bias (e.g [(Graells-Garido et al.,2015)](https://labtomarket.files.wordpress.com/2018/01/wiki_gender_bias.pdf) notes that spouse information is more likely discussed for females than males)
863
+
864
+ The table descriptions (targets/references) are, as discussed earlier, collected through a two-step process.
865
+ 1. The natural text description near the table is taken as a starting point. This is Wikipedia article text as created upto that point in time by a chain of collaborative edits from Wikipedia authors.
866
+ 2. The initial description is revised by chain of two or more annotated revisions, to make it unambiguous and faithful to a set of highlighted table cells.
867
+
868
+ From their origin in 1), the descriptions may exhibit biases seen in Wikipedia text as mentioned above. From their revisions in 2), the descriptions may show biases originating from annotator-authored text, such as a preference for shorter descriptions since they're faster to write, or linguistic preferences influenced by the locations dominant in the annotator distribution. (However, note that these are likely to be much reduced since the annotators here are merely revising rather than completely authoring. Moreover, each sentence goes through atleast two annotators, which acts as a check against the personal biases of a single annotator.)
869
+
870
+ Naturally-occurring text is also known to suffer from other biases such as reporting bias [(Gordon and Van Durme, 2013)](https://openreview.net/forum?id=AzxEzvpdE3Wcy&noteId=vmR8qaby8fqxittps://labtomarket.files.wordpress.com/2018/01/wiki_gender_bias.pdf) - this also applies to this dataset via its origin from Wikipedia.
871
+
872
+
873
+
874
+
875
+
876
+ ## Considerations for Using the Data
877
+
878
+ ### PII Risks and Liability
879
+
880
+ #### Potential PII Risk
881
+
882
+ <!-- info: Considering your answers to the PII part of the Data Curation Section, describe any potential privacy to the data subjects and creators risks when using the dataset. -->
883
+ <!-- scope: microscope -->
884
+ Since the source data is from wikipedia, only data in the public domain is included in the dataset.
885
+
886
+
887
+ ### Licenses
888
+
889
+ #### Copyright Restrictions on the Dataset
890
+
891
+ <!-- info: Based on your answers in the Intended Use part of the Data Overview Section, which of the following best describe the copyright and licensing status of the dataset? -->
892
+ <!-- scope: periscope -->
893
+ `open license - commercial use allowed`
894
+
895
+ #### Copyright Restrictions on the Language Data
896
+
897
+ <!-- info: Based on your answers in the Language part of the Data Curation Section, which of the following best describe the copyright and licensing status of the underlying language data? -->
898
+ <!-- scope: periscope -->
899
+ `open license - commercial use allowed`
900
+
901
+
902
+ ### Known Technical Limitations
903
+
904
+ #### Technical Limitations
905
+
906
+ <!-- info: Describe any known technical limitations, such as spurrious correlations, train/test overlap, annotation biases, or mis-annotations, and cite the works that first identified these limitations when possible. -->
907
+ <!-- scope: microscope -->
908
+ The dataset is limited to topics that are present in Wikipedia, more specifically those topics that are present in articles which contain atleast one table
909
+ _Sports_ and _Countries_ form 53.4% of the dataset. The remaining fraction is made up of broader topics like _Europe_, *North America*and _Politics_
910
+
911
+
912
+