{"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/knowledge-grounded-dialogue-generation-with","title":"Knowledge-Grounded Dialogue Generation with Pre-trained Language Models","arxiv_id":"2010.08824","date":"2020-10-17","proceeding":"EMNLP 2020 11","authors":["Xueliang Zhao","Wei Wu","Can Xu","Chongyang Tao","Dongyan Zhao","Rui Yan"],"abstract":"We study knowledge-grounded dialogue generation with pre-trained language models. To leverage the redundant external knowledge under capacity constraint, we propose equipping response generation defined by a pre-trained language model with a knowledge selection module, and an unsupervised approach to jointly optimizing knowledge selection and response generation with unlabeled dialogues. Empirical results on two benchmarks indicate that our model can significantly outperform state-of-the-art methods in both automatic evaluation and human judgment.","url_abs":"https://arxiv.org/abs/2010.08824v1","url_pdf":"https://arxiv.org/pdf/2010.08824v1.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":"knowledge-grounded-dialogue-generation-with","repo_url":"https://github.com/zhaoxlpku/KnowledGPT","is_official":1,"mentioned_in_paper":0,"mentioned_in_github":0,"framework":"pytorch","reach":null}],"tasks":[{"task_slug":"dialogue-generation","task_name":"Dialogue Generation"},{"task_slug":"language-modeling","task_name":"Language Modeling"},{"task_slug":"language-modelling","task_name":"Language Modelling"},{"task_slug":"response-generation","task_name":"Response Generation"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":null,"atlas_url":"https://app.syntology.ai/?focus=2010.08824","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2010.08824"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+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":"deterministic:regex_extraction","url":"https://github.com/lizekang/ITDD","reach":null},{"provenance":"deterministic:regex_extraction","url":"https://github.com/facebookresearch/ParlAI","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/zhaoxlpku/KnowledGPT","reach":null}],"summary":{"ran":3,"ran_fixture":1,"ran_draft_wrong":1,"unverified":1},"by_repo_kind":{"official":{"samples":6,"ran":5,"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":6,"samples":[{"code_sha256_prefix":"2c3d3b3aca8701d4","entry":"LSTMPointerNet","repo":"zhaoxlpku/KnowledGPT","repo_kind":"official","path":"model/extract.py","file_url":"https://github.com/zhaoxlpku/KnowledGPT/blob/HEAD/model/extract.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"2c3d3b3aca8701d4"}},{"code_sha256_prefix":"f78a8f4acadeeb1c","entry":"MultiLayerLSTMCells","repo":"zhaoxlpku/KnowledGPT","repo_kind":"official","path":"model/extract.py","file_url":"https://github.com/zhaoxlpku/KnowledGPT/blob/HEAD/model/extract.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"f78a8f4acadeeb1c"}},{"code_sha256_prefix":"7cac2871a3399a82","entry":"StackedLSTMCells","repo":"zhaoxlpku/KnowledGPT","repo_kind":"official","path":"model/extract.py","file_url":"https://github.com/zhaoxlpku/KnowledGPT/blob/HEAD/model/extract.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"7cac2871a3399a82"}},{"code_sha256_prefix":"56efb09918a6de86","entry":"len_mask","repo":"zhaoxlpku/KnowledGPT","repo_kind":"official","path":"model/extract.py","file_url":"https://github.com/zhaoxlpku/KnowledGPT/blob/HEAD/model/extract.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"56efb09918a6de86"}},{"code_sha256_prefix":"98c4e5bfb69b2999","entry":"prob_normalize","repo":"zhaoxlpku/KnowledGPT","repo_kind":"official","path":"model/extract.py","file_url":"https://github.com/zhaoxlpku/KnowledGPT/blob/HEAD/model/extract.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"98c4e5bfb69b2999"}},{"code_sha256_prefix":"df4ddb65b2d0aa48","entry":"PtrExtractSumm","repo":"zhaoxlpku/KnowledGPT","repo_kind":"official","path":"model/extract.py","file_url":"https://github.com/zhaoxlpku/KnowledGPT/blob/HEAD/model/extract.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"df4ddb65b2d0aa48"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}