
# Dataset Card for SGD-X v4

- **Repository:** https://github.com/google-research-datasets/dstc8-schema-guided-dialogue/tree/master/sgd_x
- **Paper:** https://arxiv.org/pdf/2110.06800.pdf
- **Leaderboard:** None
- **Who transforms the dataset:** Qi Zhu(zhuq96 at gmail dot com)

To use this dataset, you need to install [ConvLab-3](https://github.com/ConvLab/ConvLab-3) platform first. Then you can load the dataset via:
```
from convlab.util import load_dataset, load_ontology, load_database

dataset = load_dataset('sgd4')
ontology = load_ontology('sgd4')
database = load_database('sgd4')
```
For more usage please refer to [here](https://github.com/ConvLab/ConvLab-3/tree/master/data/unified_datasets).

### Dataset Summary

The **Schema-Guided Dialogue (SGD)** dataset consists of over 20k annotated multi-domain, task-oriented conversations between a human and a virtual assistant. These conversations involve interactions with services and APIs spanning 20 domains, such as banks, events, media, calendar, travel, and weather. For most of these domains, the dataset contains multiple different APIs, many of which have overlapping functionalities but different interfaces, which reflects common real-world scenarios. The wide range of available annotations can be used for intent prediction, slot filling, dialogue state tracking, policy imitation learning, language generation, and user simulation learning, among other tasks for developing large-scale virtual assistants. Additionally, the dataset contains unseen domains and services in the evaluation set to quantify the performance in zero-shot or few-shot settings.

The **SGD-X** dataset consists of 5 linguistic variants of every schema in the original SGD dataset. Linguistic variants were written by hundreds of paid crowd-workers. In the SGD-X directory, v1 represents the variant closest to the original schemas and v5 the farthest in terms of linguistic distance. To evaluate model performance on SGD-X schemas, dialogues must be converted using the script generate_sgdx_dialogues.py.

- **How to get the transformed data from original data:** 
  - Download [dstc8-schema-guided-dialogue-master.zip](https://github.com/google-research-datasets/dstc8-schema-guided-dialogue/archive/refs/heads/master.zip).
  - Modified `sgd_x/generate_sgdx_dialogues.py` as https://github.com/google-research-datasets/dstc8-schema-guided-dialogue/issues/57
  - Run `python -m sgd_x.generate_sgdx_dialogues` under `dstc8-schema-guided-dialogue-master` dir which need tensorflow installed.
  - Run `python preprocess.py` in the current directory.
- **Main changes of the transformation:**
  - Lower case original `act` as `intent`.
  - Add `count` slot for each domain, non-categorical, find span by text matching.
  - Categorize `dialogue acts` according to the `intent`.
  - Concatenate multiple values using `|`.
  - Retain `active_intent`, `requested_slots`, `service_call`.
- **Annotations:**
  - dialogue acts, state, db_results, service_call, active_intent, requested_slots.

### Supported Tasks and Leaderboards

NLU, DST, Policy, NLG, E2E

### Languages

English

### Data Splits

| split      |   dialogues |   utterances |   avg_utt |   avg_tokens |   avg_domains |   cat slot match(state) | cat slot match(goal)   |   cat slot match(dialogue act) |   non-cat slot span(dialogue act) |
|------------|-------------|--------------|-----------|--------------|---------------|-------------------------|------------------------|--------------------------------|-----------------------------------|
| train      |       16142 |       329964 |     20.44 |         9.75 |          1.84 |                     100 | -                      |                            100 |                               100 |
| validation |        2482 |        48726 |     19.63 |         9.66 |          1.84 |                     100 | -                      |                            100 |                               100 |
| test       |        4201 |        84594 |     20.14 |        10.4  |          2.02 |                     100 | -                      |                            100 |                               100 |
| all        |       22825 |       463284 |     20.3  |         9.86 |          1.87 |                     100 | -                      |                            100 |                               100 |

45 domains: ['Banks_14', 'Buses_14', 'Buses_24', 'Calendar_14', 'Events_14', 'Events_24', 'Flights_14', 'Flights_24', 'Homes_14', 'Hotels_14', 'Hotels_24', 'Hotels_34', 'Media_14', 'Movies_14', 'Music_14', 'Music_24', 'RentalCars_14', 'RentalCars_24', 'Restaurants_14', 'RideSharing_14', 'RideSharing_24', 'Services_14', 'Services_24', 'Services_34', 'Travel_14', 'Weather_14', 'Alarm_14', 'Banks_24', 'Flights_34', 'Hotels_44', 'Media_24', 'Movies_24', 'Restaurants_24', 'Services_44', 'Buses_34', 'Events_34', 'Flights_44', 'Homes_24', 'Media_34', 'Messaging_14', 'Movies_34', 'Music_34', 'Payment_14', 'RentalCars_34', 'Trains_14']
- **cat slot match**: how many values of categorical slots are in the possible values of ontology in percentage.
- **non-cat slot span**: how many values of non-categorical slots have span annotation in percentage.

### Citation

```
@inproceedings{lee2022sgd,
  title={SGD-X: A Benchmark for Robust Generalization in Schema-Guided Dialogue Systems},
  author={Lee, Harrison and Gupta, Raghav and Rastogi, Abhinav and Cao, Yuan and Zhang, Bin and Wu, Yonghui},
  booktitle={Proceedings of the AAAI Conference on Artificial Intelligence},
  volume={36},
  number={10},
  pages={10938--10946},
  year={2022}
}
```

### Licensing Information

[**CC BY-SA 4.0**](https://creativecommons.org/licenses/by-sa/4.0/)
task_categories:conversational multilinguality:monolingual size_categories:10K<n<100K language:en license:cc-by-sa-4.0 arxiv:2110.06800 region:us
{"language": ["en"], "license": ["cc-by-sa-4.0"], "multilinguality": ["monolingual"], "size_categories": ["10K<n<100K"], "task_categories": ["conversational"], "pretty_name": "SGD-X v4"}
TAGS
#task_categories-conversational #multilinguality-monolingual #size_categories-10K<n<100K #language-English #license-cc-by-sa-4.0 #arxiv-2110.06800 #region-us 

Dataset Card for SGD-X v4
=========================


* Repository: URL
* Paper: URL
* Leaderboard: None
* Who transforms the dataset: Qi Zhu(zhuq96 at gmail dot com)


To use this dataset, you need to install ConvLab-3 platform first. Then you can load the dataset via:


For more usage please refer to here.


### Dataset Summary


The Schema-Guided Dialogue (SGD) dataset consists of over 20k annotated multi-domain, task-oriented conversations between a human and a virtual assistant. These conversations involve interactions with services and APIs spanning 20 domains, such as banks, events, media, calendar, travel, and weather. For most of these domains, the dataset contains multiple different APIs, many of which have overlapping functionalities but different interfaces, which reflects common real-world scenarios. The wide range of available annotations can be used for intent prediction, slot filling, dialogue state tracking, policy imitation learning, language generation, and user simulation learning, among other tasks for developing large-scale virtual assistants. Additionally, the dataset contains unseen domains and services in the evaluation set to quantify the performance in zero-shot or few-shot settings.


The SGD-X dataset consists of 5 linguistic variants of every schema in the original SGD dataset. Linguistic variants were written by hundreds of paid crowd-workers. In the SGD-X directory, v1 represents the variant closest to the original schemas and v5 the farthest in terms of linguistic distance. To evaluate model performance on SGD-X schemas, dialogues must be converted using the script generate\_sgdx\_dialogues.py.


* How to get the transformed data from original data:
	+ Download URL.
	+ Modified 'sgd\_x/generate\_sgdx\_dialogues.py' as URL
	+ Run 'python -m sgd\_x.generate\_sgdx\_dialogues' under 'dstc8-schema-guided-dialogue-master' dir which need tensorflow installed.
	+ Run 'python URL' in the current directory.
* Main changes of the transformation:
	+ Lower case original 'act' as 'intent'.
	+ Add 'count' slot for each domain, non-categorical, find span by text matching.
	+ Categorize 'dialogue acts' according to the 'intent'.
	+ Concatenate multiple values using '|'.
	+ Retain 'active\_intent', 'requested\_slots', 'service\_call'.
* Annotations:
	+ dialogue acts, state, db\_results, service\_call, active\_intent, requested\_slots.


### Supported Tasks and Leaderboards


NLU, DST, Policy, NLG, E2E


### Languages


English


### Data Splits



45 domains: ['Banks\_14', 'Buses\_14', 'Buses\_24', 'Calendar\_14', 'Events\_14', 'Events\_24', 'Flights\_14', 'Flights\_24', 'Homes\_14', 'Hotels\_14', 'Hotels\_24', 'Hotels\_34', 'Media\_14', 'Movies\_14', 'Music\_14', 'Music\_24', 'RentalCars\_14', 'RentalCars\_24', 'Restaurants\_14', 'RideSharing\_14', 'RideSharing\_24', 'Services\_14', 'Services\_24', 'Services\_34', 'Travel\_14', 'Weather\_14', 'Alarm\_14', 'Banks\_24', 'Flights\_34', 'Hotels\_44', 'Media\_24', 'Movies\_24', 'Restaurants\_24', 'Services\_44', 'Buses\_34', 'Events\_34', 'Flights\_44', 'Homes\_24', 'Media\_34', 'Messaging\_14', 'Movies\_34', 'Music\_34', 'Payment\_14', 'RentalCars\_34', 'Trains\_14']


* cat slot match: how many values of categorical slots are in the possible values of ontology in percentage.
* non-cat slot span: how many values of non-categorical slots have span annotation in percentage.


### Licensing Information


CC BY-SA 4.0



### Dataset Summary


The Schema-Guided Dialogue (SGD) dataset consists of over 20k annotated multi-domain, task-oriented conversations between a human and a virtual assistant. These conversations involve interactions with services and APIs spanning 20 domains, such as banks, events, media, calendar, travel, and weather. For most of these domains, the dataset contains multiple different APIs, many of which have overlapping functionalities but different interfaces, which reflects common real-world scenarios. The wide range of available annotations can be used for intent prediction, slot filling, dialogue state tracking, policy imitation learning, language generation, and user simulation learning, among other tasks for developing large-scale virtual assistants. Additionally, the dataset contains unseen domains and services in the evaluation set to quantify the performance in zero-shot or few-shot settings.


The SGD-X dataset consists of 5 linguistic variants of every schema in the original SGD dataset. Linguistic variants were written by hundreds of paid crowd-workers. In the SGD-X directory, v1 represents the variant closest to the original schemas and v5 the farthest in terms of linguistic distance. To evaluate model performance on SGD-X schemas, dialogues must be converted using the script generate\_sgdx\_dialogues.py.


* How to get the transformed data from original data:
	+ Download URL.
	+ Modified 'sgd\_x/generate\_sgdx\_dialogues.py' as URL
	+ Run 'python -m sgd\_x.generate\_sgdx\_dialogues' under 'dstc8-schema-guided-dialogue-master' dir which need tensorflow installed.
	+ Run 'python URL' in the current directory.
* Main changes of the transformation:
	+ Lower case original 'act' as 'intent'.
	+ Add 'count' slot for each domain, non-categorical, find span by text matching.
	+ Categorize 'dialogue acts' according to the 'intent'.
	+ Concatenate multiple values using '|'.
	+ Retain 'active\_intent', 'requested\_slots', 'service\_call'.
* Annotations:
	+ dialogue acts, state, db\_results, service\_call, active\_intent, requested\_slots. ### Supported Tasks and Leaderboards


NLU, DST, Policy, NLG, E2E ### Languages


English ### Data Splits



45 domains: ['Banks\_14', 'Buses\_14', 'Buses\_24', 'Calendar\_14', 'Events\_14', 'Events\_24', 'Flights\_14', 'Flights\_24', 'Homes\_14', 'Hotels\_14', 'Hotels\_24', 'Hotels\_34', 'Media\_14', 'Movies\_14', 'Music\_14', 'Music\_24', 'RentalCars\_14', 'RentalCars\_24', 'Restaurants\_14', 'RideSharing\_14', 'RideSharing\_24', 'Services\_14', 'Services\_24', 'Services\_34', 'Travel\_14', 'Weather\_14', 'Alarm\_14', 'Banks\_24', 'Flights\_34', 'Hotels\_44', 'Media\_24', 'Movies\_24', 'Restaurants\_24', 'Services\_44', 'Buses\_34', 'Events\_34', 'Flights\_44', 'Homes\_24', 'Media\_34', 'Messaging\_14', 'Movies\_34', 'Music\_34', 'Payment\_14', 'RentalCars\_34', 'Trains\_14']


* cat slot match: how many values of categorical slots are in the possible values of ontology in percentage.
* non-cat slot span: how many values of non-categorical slots have span annotation in percentage. ### Licensing Information


CC BY-SA 4.0
TAGS
#task_categories-conversational #multilinguality-monolingual #size_categories-10K<n<100K #language-English #license-cc-by-sa-4.0 #arxiv-2110.06800 #region-us 
 ### Dataset Summary


The Schema-Guided Dialogue (SGD) dataset consists of over 20k annotated multi-domain, task-oriented conversations between a human and a virtual assistant. These conversations involve interactions with services and APIs spanning 20 domains, such as banks, events, media, calendar, travel, and weather. For most of these domains, the dataset contains multiple different APIs, many of which have overlapping functionalities but different interfaces, which reflects common real-world scenarios. The wide range of available annotations can be used for intent prediction, slot filling, dialogue state tracking, policy imitation learning, language generation, and user simulation learning, among other tasks for developing large-scale virtual assistants. Additionally, the dataset contains unseen domains and services in the evaluation set to quantify the performance in zero-shot or few-shot settings.


The SGD-X dataset consists of 5 linguistic variants of every schema in the original SGD dataset. Linguistic variants were written by hundreds of paid crowd-workers. In the SGD-X directory, v1 represents the variant closest to the original schemas and v5 the farthest in terms of linguistic distance. To evaluate model performance on SGD-X schemas, dialogues must be converted using the script generate\_sgdx\_dialogues.py.


* How to get the transformed data from original data:
	+ Download URL.
	+ Modified 'sgd\_x/generate\_sgdx\_dialogues.py' as URL
	+ Run 'python -m sgd\_x.generate\_sgdx\_dialogues' under 'dstc8-schema-guided-dialogue-master' dir which need tensorflow installed.
	+ Run 'python URL' in the current directory.
* Main changes of the transformation:
	+ Lower case original 'act' as 'intent'.
	+ Add 'count' slot for each domain, non-categorical, find span by text matching.
	+ Categorize 'dialogue acts' according to the 'intent'.
	+ Concatenate multiple values using '|'.
	+ Retain 'active\_intent', 'requested\_slots', 'service\_call'.
* Annotations:
	+ dialogue acts, state, db\_results, service\_call, active\_intent, requested\_slots. ### Supported Tasks and Leaderboards


NLU, DST, Policy, NLG, E2E ### Languages


English ### Data Splits



45 domains: ['Banks\_14', 'Buses\_14', 'Buses\_24', 'Calendar\_14', 'Events\_14', 'Events\_24', 'Flights\_14', 'Flights\_24', 'Homes\_14', 'Hotels\_14', 'Hotels\_24', 'Hotels\_34', 'Media\_14', 'Movies\_14', 'Music\_14', 'Music\_24', 'RentalCars\_14', 'RentalCars\_24', 'Restaurants\_14', 'RideSharing\_14', 'RideSharing\_24', 'Services\_14', 'Services\_24', 'Services\_34', 'Travel\_14', 'Weather\_14', 'Alarm\_14', 'Banks\_24', 'Flights\_34', 'Hotels\_44', 'Media\_24', 'Movies\_24', 'Restaurants\_24', 'Services\_44', 'Buses\_34', 'Events\_34', 'Flights\_44', 'Homes\_24', 'Media\_34', 'Messaging\_14', 'Movies\_34', 'Music\_34', 'Payment\_14', 'RentalCars\_34', 'Trains\_14']


* cat slot match: how many values of categorical slots are in the possible values of ontology in percentage.
* non-cat slot span: how many values of non-categorical slots have span annotation in percentage. ### Licensing Information


CC BY-SA 4.0
passage: TAGS
#task_categories-conversational #multilinguality-monolingual #size_categories-10K<n<100K #language-English #license-cc-by-sa-4.0 #arxiv-2110.06800 #region-us 
