Dataset Viewer

The dataset viewer is not available because its heuristics could not detect any supported data files. You can try uploading some data files, or configuring the data files location manually.

google-research-datasets/schema_guided_dstc8(複製)

データの内容

Dialogue Systems Technology Challenge 8(dstc8)の対話状態追跡のために作られた、マルチドメインのタスク指向の対話データ。銀行、イベント、メディア、カレンダー、旅行、天気など 17 のドメインのサービスを扱い、人と仮想アシスタントの間の 18,000 件を超える注釈付きの会話からなる。1 行が 1 件の対話で、turns に発話とフレームごとの注釈が入る。schema 設定には、サービスとインテント、スロットを記述したスキーマが別に入る。

データの概要

項目 値
行数 22,889(2 構成・6 分割の合計)
列数 3〜4(構成による)
容量 32.85 KB(ファイル 3 本)
ファイルの形式 py 1
言語 en
公開 public

構成と分割

構成(config) 分割(split)ごとの行数 列数
dialogues train 16,142、validation 2,482、test 4,201 3
schema train 26、validation 17、test 21 4

列(構成 dialogues。構成ごとに列が違う)

列 型
dialogue_id string
services list<string>
turns list<?>

行数と列は元のカードの YAML(dataset_info)の記載。データセットビューアでは読めなかった。全データセットの一覧は HYUKI5/dataset-catalog にある。

複製について

google-research-datasets/schema_guided_dstc8 をリビジョン bf400d9a91201a3438b552cf95f0c20dd884b1bf の時点でそのまま複製したもの。中身は変えていない。判断モデル Laya(convaiinnovations/laya)の微調整に使う候補として、調査メモ(Laya 学習用データセット調査)に載せたデータを集めている。

出典

論文

アノテーションの方法

収集の根拠

データは、まず対話シミュレータで対話の概略を生成し、次にそれを言い換えて自然な発話を得る方法で収集された。対話シミュレータを使うと、シミュレーションの段階で似た対話の流れを取り除くことで、多様な対話の流れを幅広く網羅できる。また、対話は注釈とともに生成できる。注釈の誤りが起きやすい Wizard-of-Oz 方式とは異なる。

初期データの収集と正規化

対話の概略は、まずシミュレータで生成される。対話シミュレータはサービスとやり取りして対話の概略を生成する。ユーザーとシステムの役割を担う 2 つのエージェントからなり、対話行為で指定された有限の行動の集合を使って互いにやり取りする。行動は、多様な対話の経路を捉えるように設計された確率的オートマトン上で動く。シミュレーションのオートマトンには、ドメイン固有の制約は含まれていない。ドメイン固有の制約はすべて、スキーマとシナリオに符号化されている。

次に、対話の言い換えの枠組みが、シミュレータの生成した概略を自然な会話に変換する。ユーザーは、対話行為のスロットの値を会話の中でさまざまな言い方で指すことがある。例えば、"los angeles" は "LA" や "LAX" と呼ばれることがある。自然な変化を導入するため、スロットの値はランダムに選ばれた別の表現に置き換えられる。その際、対話内のユーザーのターン全体で一貫させる。その後、行動は手作業で定義された行動から文への変換テンプレートを使って、擬似的な自然言語の発話に変換される。ターン内の異なる行動の発話は連結される。

最後に、こうした手順で変換された対話は、クラウドワーカーに送られ、より自然な言葉に言い換えられる。1 人のクラウドワーカーが、対話のすべての発話を言い換えて、自然さと一貫性を確保する。クラウドワーカーは、スロットの値を言い換えの中で正確に繰り返すよう求められる。これにより、文字列の照合でスロットのスパンのインデックスを復元できる。

アノテーションの過程

注釈は、初期のサンプリングの過程で自動的に得られ、言い換えの後に文字列の照合によって得られる。

データセットの作成者

このデータセットは、Google Mountain View で働く研究者のチームが作成した。

微調整に使うときの注意

  • 調査メモの台帳での区分: B(継承条件・gated・モデル由来の条件・上流の規約などが付く)。区分は記載の文言で機械的に付けたもので、法的な判定ではない。学習に入れる前に元のカードとライセンスの原文で確かめる。
  • Laya の入力は 2,048 token まで(ModernBERT-large / mmBERT)。長い本文は先頭から黙って切られるので、切れる行は事前に除くか、要約・切り出しをしてから入れる。
  • 分割は記事・文書単位で行い、同じ本文から作った別の問いを学習側と較正側に分けない。温度と閾値は学習に使っていない分割で別々に当てる。

調査メモの記述

メモ 節 ライセンス(記載) 確認 注記
routing_support_structured.md Q5. 対話行為 / ドメイン / エスカレーション / ツール要否 (L166) CC-BY-SA-4.0(事前知識) 事前知識 原文注記: 未検証
jev_sources_tasksource_bekko.csv CSV(tasksource-jev-typed-decisions) cc-by-sa-4.0 / license_use=commercial 確認済 license_use=commercial / [Jev 元データ source] source_annotation_converted(deterministic recast; no model r

元のカード(日本語訳)

以下は元のデータセットのカードの本文を日本語に訳したもの(機械翻訳)。訳に疑問があるときは、末尾の原文を確かめる。


データセットカード: The Schema-Guided Dialogue Dataset

目次

  • データセットの説明
    • データセットの概要
    • 対応タスクとリーダーボード
    • 言語
  • データセットの構造
    • データインスタンス
    • データフィールド
    • データ分割
  • データセットの作成
    • 収集の根拠
    • ソースデータ
    • アノテーション
    • 個人情報と機微な情報
  • データ利用上の留意点
    • データセットの社会的影響
    • バイアスについての議論
    • その他の既知の制限
  • 追加情報
    • データセットの作成者
    • ライセンス情報
    • 引用情報
    • 貢献者

データセットの説明

データセットの概要

The Schema-Guided Dialogue dataset(SGD)は、第 8 回 Dialogue Systems Technology Challenge(dstc8)の対話状態追跡タスクのために開発された。 SGD データセットは、人間と仮想アシスタントの間の、18,000 件を超える注釈付きのマルチドメインのタスク指向の会話からなる。これらの会話は、銀行、イベント、メディア、カレンダー、旅行、天気など 17 のドメインにまたがるサービスと API を扱う。ほとんどのドメインには複数の異なる API が含まれており、その多くは機能が重なっているがインターフェースが異なる。これは実世界で一般的な状況を反映している。

対応タスクとリーダーボード

このデータセットは、大規模な仮想アシスタントのための、次のようなタスクの有効な試験台となるよう設計されている。インテントの予測、スロットの埋め込み、状態追跡(ユーザーの目的の推定)、言語生成などである。

  • 生成型の対話モデリング(dialogue-modeling): 対話のテキストを使って発話を扱う系列モデルを訓練できる。このタスクの性能は、通常、非語彙化された BLEU、inform rate、request success で評価される。
  • インテントの状態追跡(multi-class-classification タスク): 会話のユーザー側の信念状態を予測する。性能は F1 で測られる。
  • 行動の予測(parsing タスク): 発話を、システムが使う対話行為に解析する。通常は F1 で報告される。

言語

データセット内のテキストは英語(en)である。

データセットの構造

データインスタンス

  • dialogues 設定(既定): 各対話は、ユーザーまたはシステムの発話を含むターンの系列として表される。各ターンの注釈はフレームにまとめられ、各フレームは 1 つのサービスに対応する。ユーザーのターンの注釈には、有効なインテント、対話状態、そのターンで言及されたさまざまなスロットの値のスパンが含まれる。システムのターンでは、システムの行動を表す対話行為が含まれる。各システムの行動は、任意のパラメータを持つ対話行為として表される。
  • schema 設定: 対話に加えて、データセットで使われる各サービスについて、公開されているインターフェースの正規化された表現がスキーマとして提供される。スキーマには、サービスの名前、サービスがサポートするタスク(インテント)の一覧、サービスが使うエンティティの属性(スロット)などの詳細が含まれる。スキーマには、サービス、インテント、スロットの自然言語による説明も含まれる。これらは、スキーマに条件づけて予測を行うモデルの開発に使える。

データフィールド

各対話インスタンスは次のフィールドを持つ。

  • dialogue_id: 対話を一意に識別する ID。
  • services: 対話に登場するサービスの一覧。
  • turns: 注釈付きのシステム発話またはユーザー発話の一覧。各ターンは次のフィールドからなる。
    • speaker: ターンの話者。USER または SYSTEM のいずれか。
    • utterance: 自然言語の発話を表す文字列。
    • frames: フレームの一覧。各フレームは 1 つのサービスの注釈を含み、次のフィールドからなる。
      • service: フレームに対応するサービスの名前。以下のフィールドで使うスロットとインテントは、このサービスのスキーマから取られる。
      • slots: 発話内のスロットのスパンの一覧。非カテゴリカルなスロットについてのみ提供される。各スロットのスパンは次のフィールドを持つ。
        • slot: スロットの名前。
        • start: スロットの値に対応する、発話内の開始文字のインデックス。
        • exclusive_end: スロットの値に対応する、発話内の最後の文字の直後の文字のインデックス。
      • actions: システムに対応する行動の一覧。各行動は次のフィールドを持つ。
        • act: 行動の種類。
        • slot: (任意)一部の行動に渡されるスロットの引数。
        • values: (任意)スロットに割り当てられた値の一覧。値の一覧が空でない場合、スロットが存在しなければならない。
        • canonical_values: (任意)サービスが使う正規化された形の値。values と同じ長さの文字列の一覧。
      • service_call: (システムのターンのみ、任意)サービスに送られた要求。次のフィールドからなる。
        • method: 実行されるサービスまたは API のインテントまたは機能の名前。
        • parameters: 同じ長さの 2 つの一覧のペア。parameter_slot_name はスロット名を、parameter_canonical_value は対応する正規化された形の値を含む。
      • service_results: (システムのターンのみ、任意)サービスから得られた結果を含むエンティティの一覧。サービスの呼び出しが行われたターンでのみ利用できる。各エンティティは、同じ長さの 2 つの一覧のペアとして表される。service_slot_name はスロット名を、service_canonical_value は対応する正規化された値を含む。
      • state: (ユーザーのターンのみ)サービスに対応する対話状態。次のフィールドからなる。
        • active_intent: フレームのサービスに対応するインテントのうち、システムが現在遂行しているもの。どのインテントも有効でない場合は "NONE" となる。
        • requested_slots: 現在のターンでユーザーが要求したスロットの一覧。
        • slot_values: 同じ長さの 2 つの一覧のペア。slot_name はスロット名を、slot_value_list は対応する文字列の一覧を含む。カテゴリカルなスロットでは、この一覧はスロットに割り当てられた 1 つの値を含む。非カテゴリカルなスロットでは、この一覧のすべての値は互いの言い換えであり、同等である(例: "6 pm"、"six in the evening"、"evening at 6" など)。

行動の ID と行動名の対応は次のとおりである。

0: AFFIRM 1: AFFIRM_INTENT 2: CONFIRM 3: GOODBYE 4: INFORM 5: INFORM_COUNT 6: INFORM_INTENT 7: NEGATE 8: NEGATE_INTENT 9: NOTIFY_FAILURE 10: NOTIFY_SUCCESS 11: OFFER 12: OFFER_INTENT 13: REQUEST 14: REQUEST_ALTS 15: REQ_MORE 16: SELECT 17: THANK_YOU

データ分割

データセットは、次のサイズで train・validation・test に分割される。

train validation test
対話数 16142 2482 4201
ターン数 48426 7446 12603

データセットの作成

収集の根拠

データは、まず対話シミュレータで対話の概略を生成し、次にそれを言い換えて自然な発話を得る方法で収集された。対話シミュレータを使うと、シミュレーションの段階で似た対話の流れを取り除くことで、多様な対話の流れを幅広く網羅できる。また、対話は注釈とともに生成できる。注釈の誤りが起きやすい Wizard-of-Oz 方式とは異なる。

ソースデータ

初期データの収集と正規化

対話の概略は、まずシミュレータで生成される。対話シミュレータはサービスとやり取りして対話の概略を生成する。ユーザーとシステムの役割を担う 2 つのエージェントからなり、対話行為で指定された有限の行動の集合を使って互いにやり取りする。行動は、多様な対話の経路を捉えるように設計された確率的オートマトン上で動く。シミュレーションのオートマトンには、ドメイン固有の制約は含まれていない。ドメイン固有の制約はすべて、スキーマとシナリオに符号化されている。

次に、対話の言い換えの枠組みが、シミュレータの生成した概略を自然な会話に変換する。ユーザーは、対話行為のスロットの値を会話の中でさまざまな言い方で指すことがある。例えば、"los angeles" は "LA" や "LAX" と呼ばれることがある。自然な変化を導入するため、スロットの値はランダムに選ばれた別の表現に置き換えられる。その際、対話内のユーザーのターン全体で一貫させる。その後、行動は手作業で定義された行動から文への変換テンプレートを使って、擬似的な自然言語の発話に変換される。ターン内の異なる行動の発話は連結される。

最後に、こうした手順で変換された対話は、クラウドワーカーに送られ、より自然な言葉に言い換えられる。1 人のクラウドワーカーが、対話のすべての発話を言い換えて、自然さと一貫性を確保する。クラウドワーカーは、スロットの値を言い換えの中で正確に繰り返すよう求められる。これにより、文字列の照合でスロットのスパンのインデックスを復元できる。

言語の生成者は誰か?

言語の構造は機械が生成したものであり、言語による表現はクラウドワーカーが作成した。データセットの論文はクラウドワーカーの属性情報を提供していない。

アノテーション

アノテーションの過程

注釈は、初期のサンプリングの過程で自動的に得られ、言い換えの後に文字列の照合によって得られる。

アノテーターは誰か?

[N/A]

個人情報と機微な情報

[More Information Needed]

データ利用上の留意点

データセットの社会的影響

[More Information Needed]

バイアスについての議論

[More Information Needed]

その他の既知の制限

[More Information Needed]

追加情報

データセットの作成者

このデータセットは、Google Mountain View で働く研究者のチームが作成した。

ライセンス情報

このデータセットは CC BY-SA 4.0 ライセンスで公開されている。

引用情報

DSCT8 タスクについて引用する場合は次を使う。

@article{corr/abs-2002-01359,
  author    = {Abhinav Rastogi and
               Xiaoxue Zang and
               Srinivas Sunkara and
               Raghav Gupta and
               Pranav Khaitan},
  title     = {Schema-Guided Dialogue State Tracking Task at {DSTC8}},
  journal   = {CoRR},
  volume    = {abs/2002.01359},
  year      = {2020},
  url       = {https://arxiv.org/abs/2002.01359},
  archivePrefix = {arXiv},
  eprint    = {2002.01359}
}

初回リリースの論文を引用する場合は次を使う。

@inproceedings{aaai/RastogiZSGK20,
  author    = {Abhinav Rastogi and
               Xiaoxue Zang and
               Srinivas Sunkara and
               Raghav Gupta and
               Pranav Khaitan},
  title     = {Towards Scalable Multi-Domain Conversational Agents: The Schema-Guided
               Dialogue Dataset},
  booktitle = {The Thirty-Fourth {AAAI} Conference on Artificial Intelligence, {AAAI}
               2020, The Thirty-Second Innovative Applications of Artificial Intelligence
               Conference, {IAAI} 2020, The Tenth {AAAI} Symposium on Educational
               Advances in Artificial Intelligence, {EAAI} 2020, New York, NY, USA,
               February 7-12, 2020},
  pages     = {8689--8696},
  publisher = {{AAAI} Press},
  year      = {2020},
  url       = {https://aaai.org/ojs/index.php/AAAI/article/view/6394}
}

貢献者

このデータセットを追加してくれた @yjernite に感謝する。

原文(英語)

Dataset Card for The Schema-Guided Dialogue Dataset

Dataset Summary

The Schema-Guided Dialogue dataset (SGD) was developed for the Dialogue State Tracking task of the Eights Dialogue Systems Technology Challenge (dstc8). The SGD dataset consists of over 18k annotated multi-domain, task-oriented conversations between a human and a virtual assistant. These conversations involve interactions with services and APIs spanning 17 domains, ranging from banks and events to media, calendar, travel, and weather. For most of these domains, the SGD dataset contains multiple different APIs, many of which have overlapping functionalities but different interfaces, which reflects common real-world scenarios.

Supported Tasks and Leaderboards

This dataset is designed to serve as an effective test-bed for intent prediction, slot filling, state tracking (i.e., estimating the user's goal) and language generation, among other tasks for large-scale virtual assistants:

  • Generative dialogue modeling or dialogue-modeling: the text of the dialogues can be used to train a sequence model on the utterances. Performance on this task is typically evaluated with delexicalized-BLEU, inform rate and request success.
  • Intent state tracking, a multi-class-classification task: predict the belief state of the user side of the conversation, performance is measured by F1.
  • Action prediction, a parsing task: parse an utterance into the corresponding dialog acts for the system to use. F1 is typically reported.

Languages

The text in the dataset is in English (en).

Dataset Structure

Data Instances

  • dialogues configuration (default): Each dialogue is represented as a sequence of turns, each containing a user or system utterance. The annotations for each turn are grouped into frames, where each frame corresponds to a single service. The annotations for user turns include the active intent, the dialogue state and slot spans for the different slots values mentioned in the turn. For system turns, we have the system actions representing the semantics of the system utterance. Each system action is represented using a dialogue act with optional parameters.
  • schema configuration: In addition to the dialogues, for each service used in the dataset, a normalized representation of the interface exposed is provided as the schema. The schema contains details like the name of the service, the list of tasks supported by the service (intents) and the attributes of the entities used by the service (slots). The schema also contains natural language descriptions of the service, intents and slots which can be used for developing models which can condition their predictions on the schema.

Data Fields

Each dialog instance has the following fields:

  • dialogue_id: A unique identifier for a dialogue.
  • services: A list of services present in the dialogue.
  • turns: A list of annotated system or user utterances. Each turn consists of the following fields:
    • speaker: The speaker for the turn. Either USER or SYSTEM.
    • utterance: A string containing the natural language utterance.
    • frames: A list of frames, each frame containing annotations for a single service and consists of the following fields:
      • 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.
      • slots: A list of slot spans in the utterance, only provided for non-categorical slots. Each slot span contains the following fields:
        • slot: The name of the slot.
        • start: The index of the starting character in the utterance corresponding to the slot value.
        • exclusive_end: The index of the character just after the last character corresponding to the slot value in the utterance.
      • actions: A list of actions corresponding to the system. Each action has the following fields:
        • act: The type of action.
        • slot: (optional) A slot argument for some of the actions.
        • values: (optional) A list of values assigned to the slot. If the values list is non-empty, then the slot must be present.
        • 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.
      • service_call: (system turns only, optional) The request sent to the service. It consists of the following fields:
        • method: The name of the intent or function of the service or API being executed.
        • 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.
      • 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.
      • state: (user turns only) The dialogue state corresponding to the service. It consists of the following fields:
        • 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.
        • requested_slots: A list of slots requested by the user in the current turn.
        • 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.).

The mapping from the action ID and the action name is the following:

0: AFFIRM 1: AFFIRM_INTENT 2: CONFIRM 3: GOODBYE 4: INFORM 5: INFORM_COUNT 6: INFORM_INTENT 7: NEGATE 8: NEGATE_INTENT 9: NOTIFY_FAILURE 10: NOTIFY_SUCCESS 11: OFFER 12: OFFER_INTENT 13: REQUEST 14: REQUEST_ALTS 15: REQ_MORE 16: SELECT 17: THANK_YOU

Data Splits

The dataset is split into a train, validation, and test split with the following sizes:

train validation test
Number of dialogues 16142 2482 4201
Number of turns 48426 7446 12603

Dataset Creation

Curation Rationale

The data was collected by first using a dialogue simulator to generate dialogue outlines first and then paraphrasing them to obtain natural utterances. Using a dialogue simulator ensures the coverage of a large variety of dialogue flows by filtering out similar flows in the simulation phase to create a diverse dataset, and dialogues can be generated with their annotation, as opposed to a Wizard-of-Oz setup which is prone to manual annotation errors.

Source Data

Initial Data Collection and Normalization

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.

The 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., “los angeles” may be referred to as “LA” or “LAX”. 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.

Finally, 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.

Who are the source language producers?

The language structure is machine-generated, and the language realizations are produced by crowd workers. The dataset paper does not provide demographic information for the crowd workers.

Annotations

Annotation process

The annotations are automatically obtained during the initial sampling process and by string matching after reformulation.

Who are the annotators?

[N/A]

Personal and Sensitive Information

[More Information Needed]

Considerations for Using the Data

Social Impact of Dataset

[More Information Needed]

Discussion of Biases

[More Information Needed]

Other Known Limitations

[More Information Needed]

Additional Information

Dataset Curators

The dataset was created by a team of researchers working at Google Mountain View.

Licensing Information

The dataset is released under CC BY-SA 4.0 license.

Citation Information

For the DSCT8 task, please cite:

@article{corr/abs-2002-01359,
  author    = {Abhinav Rastogi and
               Xiaoxue Zang and
               Srinivas Sunkara and
               Raghav Gupta and
               Pranav Khaitan},
  title     = {Schema-Guided Dialogue State Tracking Task at {DSTC8}},
  journal   = {CoRR},
  volume    = {abs/2002.01359},
  year      = {2020},
  url       = {https://arxiv.org/abs/2002.01359},
  archivePrefix = {arXiv},
  eprint    = {2002.01359}
}

For the initial release paper please cite:

@inproceedings{aaai/RastogiZSGK20,
  author    = {Abhinav Rastogi and
               Xiaoxue Zang and
               Srinivas Sunkara and
               Raghav Gupta and
               Pranav Khaitan},
  title     = {Towards Scalable Multi-Domain Conversational Agents: The Schema-Guided
               Dialogue Dataset},
  booktitle = {The Thirty-Fourth {AAAI} Conference on Artificial Intelligence, {AAAI}
               2020, The Thirty-Second Innovative Applications of Artificial Intelligence
               Conference, {IAAI} 2020, The Tenth {AAAI} Symposium on Educational
               Advances in Artificial Intelligence, {EAAI} 2020, New York, NY, USA,
               February 7-12, 2020},
  pages     = {8689--8696},
  publisher = {{AAAI} Press},
  year      = {2020},
  url       = {https://aaai.org/ojs/index.php/AAAI/article/view/6394}
}

Contributions

Thanks to @yjernite for adding this dataset.

Downloads last month
185

Papers for HYUKI5/google-research-datasets__schema_guided_dstc8