{"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/emotional-chatting-machine-emotional","title":"Emotional Chatting Machine: Emotional Conversation Generation with Internal and External Memory","arxiv_id":"1704.01074","date":"2017-04-04","proceeding":null,"authors":["Hao Zhou","Minlie Huang","Tianyang Zhang","Xiaoyan Zhu","Bing Liu"],"abstract":"Perception and expression of emotion are key factors to the success of\ndialogue systems or conversational agents. However, this problem has not been\nstudied in large-scale conversation generation so far. In this paper, we\npropose Emotional Chatting Machine (ECM) that can generate appropriate\nresponses not only in content (relevant and grammatical) but also in emotion\n(emotionally consistent). To the best of our knowledge, this is the first work\nthat addresses the emotion factor in large-scale conversation generation. ECM\naddresses the factor using three new mechanisms that respectively (1) models\nthe high-level abstraction of emotion expressions by embedding emotion\ncategories, (2) captures the change of implicit internal emotion states, and\n(3) uses explicit emotion expressions with an external emotion vocabulary.\nExperiments show that the proposed model can generate responses appropriate not\nonly in content but also in emotion.","url_abs":"http://arxiv.org/abs/1704.01074v4","url_pdf":"http://arxiv.org/pdf/1704.01074v4.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":"emotional-chatting-machine-emotional","repo_url":"https://github.com/tuxchow/ecm","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"tf","reach":null},{"paper_slug":"emotional-chatting-machine-emotional","repo_url":"https://github.com/KChikai/Responsive-Dialogue-Generation","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"none","reach":{"status":"unanswered"}},{"paper_slug":"emotional-chatting-machine-emotional","repo_url":"https://github.com/loadder/ECM-tf","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"unanswered"}},{"paper_slug":"emotional-chatting-machine-emotional","repo_url":"https://github.com/thu-coai/ecm","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"ok","spdx":"Apache-2.0"}},{"paper_slug":"emotional-chatting-machine-emotional","repo_url":"https://github.com/wangihzyue/ECM-replication","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":null},{"paper_slug":"emotional-chatting-machine-emotional","repo_url":"https://github.com/yukiar/Responsive-and-Self-Expressive-Dialogue-Generation","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"none","reach":{"status":"unanswered"}}],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=1704.01074","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"1704.01074"}},"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":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/KChikai/Responsive-Dialogue-Generation","reach":{"status":"unanswered"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/wangihzyue/ECM-replication","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/yukiar/Responsive-and-Self-Expressive-Dialogue-Generation","reach":{"status":"unanswered"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/loadder/ECM-tf","reach":{"status":"unanswered"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/tuxchow/ecm","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/thu-coai/ecm","reach":{"status":"ok","spdx":"Apache-2.0"}}],"summary":{"ran_honours":3,"ran_draft_wrong":1},"by_repo_kind":{"official":{"samples":1,"ran":1,"repositories":1},"listed":{"samples":3,"ran":3,"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":3,"samples":[{"code_sha256_prefix":"f1a03e36a929be40","entry":"indexesFromSentence","repo":"wangihzyue/ECM-replication","repo_kind":"listed","path":"model.py","file_url":"https://github.com/wangihzyue/ECM-replication/blob/HEAD/model.py","link_basis":"first_harvest_node","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":"well_formed","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"f1a03e36a929be40"}},{"code_sha256_prefix":"ddd2c7e475ef50fd","entry":"refine_data","repo":"tuxchow/ecm","repo_kind":"official","path":"baseline.py","file_url":"https://github.com/tuxchow/ecm/blob/HEAD/baseline.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"ddd2c7e475ef50fd"}},{"code_sha256_prefix":"3d9f2f31111f3fcb","entry":"sen2id","repo":"wangihzyue/ECM-replication","repo_kind":"listed","path":"model.py","file_url":"https://github.com/wangihzyue/ECM-replication/blob/HEAD/model.py","link_basis":"first_harvest_node","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":"well_formed","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"3d9f2f31111f3fcb"}},{"code_sha256_prefix":"e078d00565acdadd","entry":"transform","repo":"wangihzyue/ECM-replication","repo_kind":"listed","path":"classifier.py","file_url":"https://github.com/wangihzyue/ECM-replication/blob/HEAD/classifier.py","link_basis":"first_harvest_node","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":"well_formed","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"e078d00565acdadd"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}