Skip to content

Zero-shot Intent Classification and Unknown Intent Detection

Notifications You must be signed in to change notification settings

fanolabs/0shot-classification

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README

  • Code for
    • Yan, G., Fan, L., Li, Q., Liu, H., Zhang, X., Wu, X. M., & Lam, A. Y. (2020, July). Unknown intent detection using Gaussian mixture model with an application to zero-shot intent classification. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics (pp. 1050-1060).
    • Liu, H., Zhang, X., Fan, L., Fu, X., Li, Q., Wu, X. M., & Lam, A. Y. (2019, November). Reconstructing capsule networks for zero-shot intent classification. In Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP) (pp. 4799-4809).

Environment

conda env create -f intentTorch110.yml

Example to Run

  1. SEG unknown intent detection
cd spin_outlier_ws
seg_75.sh SMP Caption 0 0
  1. SEG RecapsNet for zero shot learning
cd spin_outlier_ws
seg_zero_shot.sh SMP Caption 0
  1. ReCapsNet
    • Please refer to code/model_torch.CapsAll and code/do_spin_outlier

Note

  • Please refer to code/config and code/main_* for configuration.
  • The output results can be found in code/saved_models

@inproceedings{yan-etal-2020-unknown,
    title = "Unknown Intent Detection Using {G}aussian Mixture Model with an Application to Zero-shot Intent Classification",
    author = "Yan, Guangfeng  and
      Fan, Lu  and
      Li, Qimai  and
      Liu, Han  and
      Zhang, Xiaotong  and
      Wu, Xiao-Ming  and
      Lam, Albert Y.S.",
    booktitle = "Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics",
    month = jul,
    year = "2020",
    address = "Online",
    publisher = "Association for Computational Linguistics",
    url = "https://www.aclweb.org/anthology/2020.acl-main.99",
    pages = "1050--1060",
}

@inproceedings{liu-etal-2019-reconstructing,
    title = "Reconstructing Capsule Networks for Zero-shot Intent Classification",
    author = "Liu, Han  and
      Zhang, Xiaotong  and
      Fan, Lu  and
      Fu, Xuandi  and
      Li, Qimai  and
      Wu, Xiao-Ming  and
      Lam, Albert Y.S.",
    booktitle = "Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP)",
    month = nov,
    year = "2019",
    address = "Hong Kong, China",
    publisher = "Association for Computational Linguistics",
    url = "https://www.aclweb.org/anthology/D19-1486",
    doi = "10.18653/v1/D19-1486",
    pages = "4799--4809",
}

About

Zero-shot Intent Classification and Unknown Intent Detection

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published