How Time Matters: Learning Time-Decay Attention for Contextual Spoken Language Understanding in Dialogue
Switch branches/tags
Nothing to show
Clone or download
Latest commit 69fe664 Apr 14, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
row_a update Apr 15, 2018
row_b update Apr 15, 2018
row_c update Apr 15, 2018
row_d update Apr 15, 2018
row_e update Apr 15, 2018
row_f update Apr 15, 2018
row_g update Apr 15, 2018
README.md update Apr 15, 2018
calculate.py update Apr 15, 2018
parse_history.py update Apr 15, 2018

README.md

Time-Decay-Learning

How Time Matters: Learning Time-Decay Attention for Contextual Spoken Language Understanding in Dialogue

Reference

Main paper to be cited

@inproceedings{su2018how,
  title={How time matters: Learning Time-Decay Attention for Contextual Spoken Language Understanding in Dialogues},
    author={Shang-Yu Su, Pei-Chieh Yuan, and Yun-Nung Chen},
    booktitle={Proceedings of The 16th Annual Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies},
    year={2018}
}

Usage

  1. Put the DSTC4 data into some directory (e.g. /home/workspace/dstc4). Run the code parse_history.py to preprocess the data.

  2. Put the embedding files into some directory (e.g. /home/workspace/glove) Modify line 29 in the code slu_preprocess.py

  3. Run the code in the directory (row_*) with arguments like below:

    python slu.py \
    --target [ALL, Guide, Tourist]
    --level  [sentence, role]
    --attention [convex, linear, concave, universal]