Giter Club home page Giter Club logo

domainaware_dst's Introduction

DA-DST : Domain-Aware Dialogue State Tracker for Multi-Domain Dialogue Systems

License: MIT

This is a PyTorch implementation of the paper: Domain-Aware Dialogue State Tracker for Multi-Domain Dialogue Systems. by Vevake Balaraman and Bernardo Magnini.

Abstract

In task-oriented dialogue systems the dialogue state tracker (DST) component is responsible for predicting the state of the dialogue based on the dialogue history. Current DST approaches rely on a predefined domain ontology, a fact that limits their effective usage for large scale conversational agents, where the DST constantly needs to be interfaced with ever-increasing services and APIs. Focused towards overcoming this drawback, we propose a domain-aware dialogue state tracker, that is completely data-driven and it is modeled to predict for dynamic service schemas including zero-shot domains. Unlike approaches that propose separate models for prediction of intents, requested slots, slot status, categorical slots and non-categorical slots, we propose a single model in an end-to-end architecture. The proposed model also utilizes domain and slot information to extract both domain and slot specific representations from a given dialogue, and then uses such representations to predict the values of the corresponding slot in a given domain. Integrating this mechanism with a pretrained language models, our approach can effectively learn semantic relations and effectively perform zero-shot tracking for domains not present in training.

Citation

The bibtex is below.

@article{balaraman2020domainaware,
      title={Domain-Aware Dialogue State Tracker for Multi-Domain Dialogue Systems},
      author={Vevake Balaraman and Bernardo Magnini},
      year={2020},
      eprint={2001.07526},
      archivePrefix={arXiv},
      primaryClass={cs.CL}
}

Dataset

The Schema Guided Dataset (SGD) is used for the experiments.

Executing the program

  1. Configure the directories and BERT model locations in config.py

  2. Create a schema dictionary for the dataset.

    python create_schema_dict.py
  3. create schema encodings

    python encode_schema.py
  4. Train the model

    python train.py
  5. Test the final model

    python test.py

Contact

Please feel free to contact me at [email protected] for any queries.

domainaware_dst's People

Contributors

vevake avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.