{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/ketod-knowledge-enriched-task-oriented-1","title":"KETOD: Knowledge-Enriched Task-Oriented Dialogue","arxiv_id":"2205.05589","date":"2022-05-11","proceeding":"Findings (NAACL) 2022 7","authors":["Zhiyu Chen","Bing Liu","Seungwhan Moon","Chinnadhurai Sankar","Paul Crook","William Yang Wang"],"abstract":"Existing studies in dialogue system research mostly treat task-oriented dialogue and chit-chat as separate domains. Towards building a human-like assistant that can converse naturally and seamlessly with users, it is important to build a dialogue system that conducts both types of conversations effectively. In this work, we investigate how task-oriented dialogue and knowledge-grounded chit-chat can be effectively integrated into a single model. To this end, we create a new dataset, KETOD (Knowledge-Enriched Task-Oriented Dialogue), where we naturally enrich task-oriented dialogues with chit-chat based on relevant entity knowledge. We also propose two new models, SimpleToDPlus and Combiner, for the proposed task. Experimental results on both automatic and human evaluations show that the proposed methods can significantly improve the performance in knowledge-enriched response generation while maintaining a competitive task-oriented dialog performance. We believe our new dataset will be a valuable resource for future studies. Our dataset and code are publicly available at \\url{https://github.com/facebookresearch/ketod}.","url_abs":"https://arxiv.org/abs/2205.05589v1","url_pdf":"https://arxiv.org/pdf/2205.05589v1.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"ketod-knowledge-enriched-task-oriented-1","repo_url":"https://github.com/facebookresearch/ketod","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"response-generation","task_name":"Response Generation"}],"methods":[],"datasets_introduced":[{"slug":"ketod","name":"KETOD","full_name":"Knowledge-Enriched Task-Oriented Dialogue"}],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2205.05589","atlas_url":"https://app.syntology.ai/?focus=2205.05589","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2205.05589"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-25T09:33:49+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/facebookresearch/ketod","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"ran_draft_wrong":1,"ran":3},"by_repo_kind":{"listed":{"samples":4,"ran":4,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":4,"samples":[{"code_sha256_prefix":"8d7ec010c29e813b","entry":"format_time","repo":"facebookresearch/ketod","repo_kind":"listed","path":"code/kg_selection/utils.py","file_url":"https://github.com/facebookresearch/ketod/blob/HEAD/code/kg_selection/utils.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":true,"licence":"MIT","inline_ok":false,"mcp_get_code":{"code_sha256":"8d7ec010c29e813b"}},{"code_sha256_prefix":"880b17fcf872816b","entry":"get_kg_snippets_dict","repo":"facebookresearch/ketod","repo_kind":"listed","path":"code/simpletodplus/utils.py","file_url":"https://github.com/facebookresearch/ketod/blob/HEAD/code/simpletodplus/utils.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":false,"mcp_get_code":{"code_sha256":"880b17fcf872816b"}},{"code_sha256_prefix":"846228241d59481f","entry":"get_tf_idf_query_similarity","repo":"facebookresearch/ketod","repo_kind":"listed","path":"code/kg_selection/tfidf_selection.py","file_url":"https://github.com/facebookresearch/ketod/blob/HEAD/code/kg_selection/tfidf_selection.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":false,"mcp_get_code":{"code_sha256":"846228241d59481f"}},{"code_sha256_prefix":"5312b6b693f09d8e","entry":"read_txt","repo":"facebookresearch/ketod","repo_kind":"listed","path":"code/kg_selection/utils.py","file_url":"https://github.com/facebookresearch/ketod/blob/HEAD/code/kg_selection/utils.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":false,"mcp_get_code":{"code_sha256":"5312b6b693f09d8e"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}