schema_guided_dialog / schema_guided_dialog.json
Sebastian Gehrmann
"overview": {
"where": {
"has-leaderboard": "no",
"leaderboard-url": "N/A",
"leaderboard-description": "N/A",
"website": "n/a",
"data-url": "[Github[(",
"paper-url": "[Arxiv](",
"paper-bibtext": "```\n{\n@inproceedings{rastogi2020towards,\n title={Towards scalable multi-domain conversational agents: The schema-guided dialogue dataset},\n author={Rastogi, Abhinav and Zang, Xiaoxue and Sunkara, Srinivas and Gupta, Raghav and Khaitan, Pranav},\n booktitle={Proceedings of the AAAI Conference on Artificial Intelligence},\n volume={34},\n number={05},\n pages={8689--8696},\n year={2020}\n}\n```",
"contact-email": "",
"contact-name": "Abhinav Rastogi"
"languages": {
"is-multilingual": "no",
"license": "cc-by-sa-4.0: Creative Commons Attribution Share Alike 4.0 International",
"task-other": "N/A",
"language-names": [
"communicative": "The goal of a speaker who generates the target utterance is to help users accomplish tasks including but not limited to finding flights, booking restaurants, searching for nearby events and movies.\n",
"language-speakers": "The language structure is machine-generated, and the language realizations are produced by crowd workers.\nThe dataset paper does not provide demographic information for the crowd workers.\n",
"language-dialects": "n/a",
"intended-use": "The Schema-Guided Dialogue (SGD) dataset contains 18K multi-domain task-oriented dialogues between a human and a virtual assistant, which covers 17 domains ranging from banks and events to media, calendar, travel, and weather.\nThe language presents in the datset is only English.\nThe SGD dataset provides a challenging testbed for a number of tasks in task-oriented dialogue, including language understanding, slot filling, dialogue state tracking and response generation.\nFor the creation of the SGD dataset, they developed a multi-domain dialogue simulator that generates dialogue outlines over an arbitrary combination of APIs, dialogue states and system actions. Then, they used a crowd-sourcing procedure to paraphrase these outlines to natural language utterances.\nThis novel crowd-sourcing procedure preserves all annotations obtained from the simulator and does not require any extra annotations after dialogue collection.\n",
"license-other": "N/A",
"task": "Dialog Response Generation"
"credit": {
"organization-type": [
"organization-names": "Google",
"creators": "Abhinav Rastogi, Xiaoxue Zang, Srinivas Sunkara, Raghav Gupta, Pranav Khaitan, Amir Fayazi, Maria Wang, and Guan-Lin Chao",
"funding": "Google",
"gem-added-by": "Wanyu Du wrote the initial data card and Yacine Jernite the data loader. Simon Mille updated the data card with the additional splits. Sebastian Gehrmann migrated the data card and loader to the v2 version and extended the missing information."
"structure": {
"data-fields": "Each dialog instance has the following fields:\n\n* `dialogue_id`: A unique identifier for a dialogue.\n* `services`: A list of services present in the dialogue.\n* `turns`: A list of annotated system or user utterances. Each turn consists of the following fields:\n\t* `speaker`: The speaker for the turn, either `USER` or `SYSTEM`.\n\t* `utterance`: A string containing the natural language utterance.\n\t* `frames`: A list of frames, each frame containing annotations for a single service and consists of the following fields:\n\t\t* `service`: The name of the service corresponding to the frame. The slots and intents used in the following fields are taken from the schema of this service.\n\t\t* `slots`: A list of slot spans in the utterance, only provided for non-categorical slots. Each slot span contains the following fields:\n\t\t\t* `slot`: The name of the slot.\n\t\t\t* `start`: The index of the starting character in the utterance corresponding to the slot value.\n\t\t\t* `exclusive_end`: The index of the character just after the last character corresponding to the slot value in the utterance.\n\t\t* `actions`: A list of actions corresponding to the system. Each action has the following fields:\n\t\t\t* `act`: The type of action.\n\t\t\t* `slot`: (optional) A slot argument for some of the actions.\n\t\t\t* `values`: (optional) A list of values assigned to the slot. If the values list is non-empty, then the slot must be present.\n\t\t\t* `canonical_values`: (optional) The values in their canonicalized form as used by the service. It is a list of strings of the same length as values.\n\t\t* `service_call`: (system turns only, optional) The request sent to the service. It consists of the following fields:\n\t\t\t* `method`: The name of the intent or function of the service or API being executed.\n\t\t\t* `parameters`: A pair of lists of the same lengths: `parameter_slot_name` contains slot names and `parameter_canonical_value` contains the corresponding values in their canonicalized form.\n\t\t* `service_results`: (system turns only, optional) A list of entities containing the results obtained from the service. It is only available for turns in which a service call is made. Each entity is represented as a pair of lists of the same length: `service_slot_name` contains slot names and `service_canonical_value` contains the corresponding canonical values.\n\t\t* `state`: (user turns only) The dialogue state corresponding to the service. It consists of the following fields:\n\t\t\t* `active_intent`: The intent corresponding to the service of the frame which is currently being fulfilled by the system. It takes the value \"NONE\" if none of the intents are active.\n\t\t\t* `requested_slots`: A list of slots requested by the user in the current turn.\n\t\t\t* `slot_values`: A pair of lists of the same lengths: `slot_name` contains slot names and `slot_value_list` contains the corresponding lists of strings. For categorical slots, this list contains a single value assigned to the slot. For non-categorical slots, all the values in this list are spoken variations of each other and are equivalent (e.g, \"6 pm\", \"six in the evening\", \"evening at 6\" etc.).\n\n",
"structure-description": "n/a",
"structure-labels": "n/a",
"structure-example": "```\n{'dialogue_id': '1_00000',\n 'services': ['Restaurants_1'],\n 'turns':\n {'frames':\n \t[{'actions': [{'act': [6],\n 'canonical_values': [['FindRestaurants']],\n 'slot': ['intent'],\n 'values': [['FindRestaurants']]}],\n 'service': ['Restaurants_1'],\n 'service_call': [{'method': '',\n 'parameters': {'parameter_canonical_value': [],\n 'parameter_slot_name': []}}],\n 'service_results': [{'service_results_list': []}],\n 'slots': [{'exclusive_end': [], 'slot': [], 'start': []}],\n 'state': [{'active_intent': 'FindRestaurants',\n \t\t\t 'requested_slots': [],\n \t\t\t 'slot_values': {'slot_name': [], 'slot_value_list': []}}]},\n {'actions': [{'act': [13],\n 'canonical_values': [[]],\n 'slot': ['city'],\n 'values': [[]]}],\n 'service': ['Restaurants_1'],\n 'service_call': [{'method': '',\n 'parameters': {'parameter_canonical_value': [],\n 'parameter_slot_name': []}}],\n 'service_results': [{'service_results_list': []}],\n 'slots': [{'exclusive_end': [], 'slot': [], 'start': []}],\n 'state': [{'active_intent': '',\n \t\t 'requested_slots': [],\n \t\t 'slot_values': {'slot_name': [], 'slot_value_list': []}}]},\n ...,]}\n 'speaker': [0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1],\n 'utterance': [\n 'I am feeling hungry so I would like to find a place to eat.',\n 'Do you have a specific which you want the eating place to be located at?',\n 'I would like for it to be in San Jose.',\n 'Is there a specific cuisine type you enjoy, such as Mexican, Italian or something else?',\n 'I usually like eating the American type of food.',\n 'I see that at 71 Saint Peter there is a good restaurant which is in San Jose.',\n 'Can you give me the address of this restaurant.',\n 'If you want to go to this restaurant you can find it at 71 North San Pedro Street.',\n 'Can you give me the phone number that I can contact them with?',\n 'If you want to phone them you can at 408-971-8523.',\n 'Is there some other restaurant which you can suggest?',\n 'How would you like Bazille restaurant which is situated in San Jose.',\n 'Do you have another restaurant matching my needs? For example a restaurant which is economical and is located in Palo Alto.',\n 'I see that 7 restaurants suit to what you requested. Bird Dog seems as a good restaurant and is located in Palo Alto.',\n 'Alright, that seems good. I would like to make a booking at this restaurant.',\n 'For which time do you want the booking to be?',\n 'I will be eating there at 11:30 am so make it for then.',\n 'Can you please confirm that you want to book a table for 2 at 11:30 am at the Bird Dog restaurant in Palo Alto for today.',\n 'That suits me well. Can you tell me if they feature live music?',\n 'Your booking has been made without errors, but unfortunately they do not have live music.',\n 'Will I be able to find liquor there? Can you give me the address of their location?',\n 'The restaurant is located at 420 Ramona Street. Unfortunately they do not serve alcohol at the restaurant.',\n 'I appreciate it very much. That would be all.',\n 'Have a good time!'\n ]}\n```",
"structure-splits": "The dataset is split into a train, validation, and test set with the following sizes:\n\n| | Train | Validation | Test |\n| --- | --- | --- | --- |\n| \\# of dialogues | 16142 | 2482 | 4201 |\n| \\# of turns | 48426 | 7446 | 12603 |",
"structure-splits-criteria": "The data is generally split i.i.d, but some topics only appear in training and some only for testing. For example, the domains Messaging, Payment, and Train are test-only. ",
"structure-outlier": "n/a"
"what": {
"dataset": "The GEM version of this dataset functions as a response generation dataset. The input specifies dialog acts that a model needs to verbalize. The Schema-Guided Dialog dataset is challenging since it comprises multiple domains from hotel and travel to restaurants, and a wide range of dialog acts. The context of each conversation is provided as well. "
"curation": {
"original": {
"is-aggregated": "no",
"aggregated-sources": "N/A",
"rationale": "Previous multi-domain task-oriented dialogue datsets do not sufficiently capture the real-world challenges in virtual assistants, since they cover few domains and assume a single static ontology per domain.\nThe SGD datset is created to cover 17 domains with over 16K dialogues, and contain multiple different APIs in most domains, many of which have overlapping functionalities but different interfaces, which reflects common real-world scenarios.\nThe wide range of available annotations can be used for intent prediction, slot filling, dialogue state tracking, policy imitation learning, language generation, user simulation learning, among other tasks in large-scale virtual assistants.\n",
"communicative": "The goal of a speaker who generates the target utterance is to help users accomplish tasks including but not limited to finding flights, booking restaurants, searching for nearby events and movies.\n"
"language": {
"found": [],
"crowdsourced": [],
"created": "N/A",
"machine-generated": "[Github](",
"validated": "not validated",
"is-filtered": "not filtered",
"filtered-criteria": "N/A",
"obtained": [
"producers-description": "The dialogue outlines are first generated by a simulator. The dialogue simulator interacts with the services to generate dialogue outlines. It consists of two agents playing the roles of the user and the system, interacting with each other using a finite set of actions specified through dialogue acts over a probabilistic automaton designed to capture varied dialogue trajectories. It is worth noting that the simulation automaton does not include any domain-specific constraints: all domain-specific constraints are encoded in the schema and scenario.\n\nThe dialogue paraphrasing framework then converts the outlines generated by the simulator into a natural conversation. Users may refer to the slot values in the dialogue acts in various different ways during the conversation, e.g., \u201clos angeles\u201d may be referred to as \u201cLA\u201d or \u201cLAX\u201d. To introduce these natural variations in the slot values, different slot values are replaced with a randomly selected variation while being kept consistent across user turns in a dialogue. The actions are then converted to pseudo-natural language utterances using a set of manually defined action-to-text templates, and the resulting utterances for the different actions in a turn are concatenated together.\n",
"topics": "The dataset covers the following domains: Alarm, Banks, Buses, Calendar, Events, Flights, Homes, Hotels, Media, Messaging, Movies, Music, Payment, RentalCars, Restaurants, RideSharing, Services, Train, Travel, and Weather. The domain \u2018Service\u2019 includes salons, dentists, doctors etc. The \u2018Alarm\u2019, \u2018Messaging\u2019, \u2018Payment\u2019 and \u2018Train\u2019 domains are only present in the dev or test sets.\nto test generalization to new domains."
"annotations": {
"origin": "crowd-sourced",
"rater-number": "unknown",
"rater-qualifications": "n/a",
"rater-training-num": "0",
"rater-test-num": "0",
"rater-annotation-service-bool": "unknown",
"rater-annotation-service": [],
"values": "The dialogue transformed by these steps is sent to the crowd workers to be reformulated into more natural language. One crowd worker is tasked with paraphrasing all utterances of a dialogue to ensure naturalness and coherence. The crowd workers are asked to exactly repeat the slot values in their paraphrases so that the span indices for the slots can be recovered via string matching.\n",
"quality-control": "none",
"quality-control-details": "N/A"
"consent": {
"has-consent": "no",
"consent-policy": "N/A",
"consent-other": "N/A",
"no-consent-justification": "While no policy is reported, we assume that one was in place for the collection."
"pii": {
"has-pii": "no PII",
"no-pii-justification": "The SGD dataset does not use identity categories and does not contain sensitive data.\n",
"is-pii-identified": "N/A",
"pii-identified-method": "N/A",
"is-pii-replaced": "N/A",
"pii-replaced-method": "N/A",
"pii-categories": []
"maintenance": {
"has-maintenance": "no",
"description": "N/A",
"contact": "N/A",
"contestation-mechanism": "N/A",
"contestation-link": "N/A",
"contestation-description": "N/A"
"gem": {
"rationale": {
"sole-task-dataset": "yes",
"sole-language-task-dataset": "no",
"distinction-description": "The domains a lot more diverse than other datasets. ",
"contribution": "This dataset comprises a wide range of dialog capabilities and thus enables the evaluation of many more generation capabilities of comparable datasets. Its collection methodology ensures a high diversity but also high quality of the data. ",
"model-ability": "surface realization, compositionality."
"curation": {
"has-additional-curation": "yes",
"modification-types": [
"data points modified"
"modification-description": "We are focusing on the response-generation part of the dataset and thus reformatted the dataset to treat the service agent utterances as the targets to be generated and the previous customer utterance and the agent's dialog act as the input. We additionally reformat the dialog acts to directly conform to the format described in this [paper](\n",
"has-additional-splits": "yes",
"additional-splits-description": "9 challenge sets for Schema-Guided Dialog were added to the GEM evaluation suite.\n\n1. We created subsets of the training and development sets of 500 randomly selected inputs each.\n2. We applied 5 transformations to respectively 5 sets of 500 randomly selected inputs: (i) back-translation, (ii)-(iii) introduction of typographical errors, using Butterfingers with two thresholds (0.02 and 0.05), resulting in two sets with different amounts of typos introduced (there are more typos with the 0.05 threshold than with the 0.02 one), (iv) removal of final punctuations (when any), and (v) input scrambling, for which the order of the dialogue acts was randomly reassigned.\n3. For the input size, we created subpopulations based on the number of dialogue acts in the input.\n\n| DA number | Frequency English |\n|---------------|-------------------|\n| 1 | 5049 |\n| 2 | 2517 |\n| 3 | 1328 |\n| 4 | 469 |\n| 5 | 335 |\n| 6 | 256 |\n| 7 | 46 |\n\nWe also split the test data according to the type of dialogue act, represented by cardinal numbers in the dataset.\n\n| DA type | Frequency English |\n|--------------|-------------------|\n| 2 | 1397 |\n| 3 | 983 |\n| 4 | 1027 |\n| 5 | 958 |\n| 9 | 72 |\n| 10 | 1024 |\n| 11 | 1246 |\n| 12 | 500 |\n| 13 | 2078 |\n| 15 | 715 |\n",
"additional-splits-capacicites": "Generalization and Robustness."
"starting": {
"research-pointers": "* [Paper for dataset and DST baseline](\n* [DSTC8 overview paper](\n* [Code for DST baseline](\n* [Natural language generation baseline paper](\n* [Blog post announcing the dataset](\n",
"technical-terms": "n/a"
"results": {
"results": {
"other-metrics-definitions": "N/A",
"has-previous-results": "no",
"current-evaluation": "N/A",
"previous-results": "N/A",
"model-abilities": "Surface realization and compositionally. ",
"metrics": [
"original-evaluation": "The original paper focused on the task of dialog state prediction instead of response generation and thus did not suggest any set of metrics. "
"considerations": {
"pii": {
"risks-description": "n/a"
"licenses": {
"dataset-restrictions-other": "N/A",
"data-copyright-other": "N/A",
"dataset-restrictions": [
"open license - commercial use allowed"
"data-copyright": [
"open license - commercial use allowed"
"limitations": {
"data-technical-limitations": "The dialogues under each domain distributed unevenly, where the flights domain has 3644 dialogues while the payment domain only contains 222 dialogues.\nBesides, all dialogues are paraphrased by crowd-workers, and it is possible that crow-workers with different culture backgrounds will exhibit biased opinions.\n",
"data-unsuited-applications": "Since the initial data was automatically generated, the coverage of entity names is necessarily biased. An agent thus needs to be evaluated in a more realistic environment. "
"context": {
"previous": {
"is-deployed": "no",
"described-risks": "N/A",
"changes-from-observation": "N/A"
"underserved": {
"helps-underserved": "no",
"underserved-description": "N/A"
"biases": {
"has-biases": "no",
"bias-analyses": "N/A",
"speaker-distibution": "Due to the combination of the automatic generation and crowd rater paraphasing, the language can be very formulaic. While this may be acceptable for the model part (i.e., we may actually desire an automated agent to form formulaic responses), the input utterances of the simulated customers likely do not cover the entire spectrum of the English language. "