{"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/190807687","title":"MoEL: Mixture of Empathetic Listeners","arxiv_id":"1908.07687","date":"2019-08-21","proceeding":"IJCNLP 2019 11","authors":["Zhaojiang Lin","Andrea Madotto","Jamin Shin","Peng Xu","Pascale Fung"],"abstract":"Previous research on empathetic dialogue systems has mostly focused on generating responses given certain emotions. However, being empathetic not only requires the ability of generating emotional responses, but more importantly, requires the understanding of user emotions and replying appropriately. In this paper, we propose a novel end-to-end approach for modeling empathy in dialogue systems: Mixture of Empathetic Listeners (MoEL). Our model first captures the user emotions and outputs an emotion distribution. Based on this, MoEL will softly combine the output states of the appropriate Listener(s), which are each optimized to react to certain emotions, and generate an empathetic response. Human evaluations on empathetic-dialogues (Rashkin et al., 2018) dataset confirm that MoEL outperforms multitask training baseline in terms of empathy, relevance, and fluency. Furthermore, the case study on generated responses of different Listeners shows high interpretability of our model.","url_abs":"https://arxiv.org/abs/1908.07687v1","url_pdf":"https://arxiv.org/pdf/1908.07687v1.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":"190807687","repo_url":"https://github.com/HLTCHKUST/MoEL","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"190807687","repo_url":"https://github.com/EyreChan/MoEL","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"mindspore","reach":{"status":"ok"}},{"paper_slug":"190807687","repo_url":"https://github.com/Ravikiran2402/MoEL","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok"}},{"paper_slug":"190807687","repo_url":"https://github.com/Ravikiran2402/_MOEL","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok"}},{"paper_slug":"190807687","repo_url":"https://github.com/mirah-official/empathetic-chatbot-asem","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok"}}],"tasks":[],"methods":[{"method_slug":"interpretability","method_name":"Interpretability"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=1908.07687","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"1908.07687"}},"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/EyreChan/MoEL","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/mirah-official/empathetic-chatbot-asem","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/Ravikiran2402/_MOEL","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/HLTCHKUST/MoEL","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/Ravikiran2402/MoEL","reach":{"status":"ok"}}],"summary":{"ran_honours":1,"unverified":7},"by_repo_kind":{"official":{"samples":8,"ran":1,"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":0,"samples":[{"code_sha256_prefix":"e6dc8a206c0c47a8","entry":"position_encoding","repo":"HLTCHKUST/MoEL","repo_kind":"official","path":"model/common_layer.py","file_url":"https://github.com/HLTCHKUST/MoEL/blob/HEAD/model/common_layer.py","link_basis":"harvester_set","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":"well_formed","behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"e6dc8a206c0c47a8"}},{"code_sha256_prefix":"d6bb401edf268525","entry":"clean","repo":"HLTCHKUST/MoEL","repo_kind":"official","path":"utils/data_reader.py","file_url":"https://github.com/HLTCHKUST/MoEL/blob/HEAD/utils/data_reader.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"d6bb401edf268525"}},{"code_sha256_prefix":"3c93764fe69d849d","entry":"clean_msg","repo":"HLTCHKUST/MoEL","repo_kind":"official","path":"get_ed_data.py","file_url":"https://github.com/HLTCHKUST/MoEL/blob/HEAD/get_ed_data.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"3c93764fe69d849d"}},{"code_sha256_prefix":"ba2c0325e50bd0b8","entry":"moses_multi_bleu","repo":"HLTCHKUST/MoEL","repo_kind":"official","path":"utils/metric.py","file_url":"https://github.com/HLTCHKUST/MoEL/blob/HEAD/utils/metric.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"ba2c0325e50bd0b8"}},{"code_sha256_prefix":"e590737dc468ae59","entry":"read_langs","repo":"HLTCHKUST/MoEL","repo_kind":"official","path":"utils/data_reader.py","file_url":"https://github.com/HLTCHKUST/MoEL/blob/HEAD/utils/data_reader.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"e590737dc468ae59"}},{"code_sha256_prefix":"ee28f00102414dc1","entry":"rouge_n","repo":"HLTCHKUST/MoEL","repo_kind":"official","path":"utils/metric.py","file_url":"https://github.com/HLTCHKUST/MoEL/blob/HEAD/utils/metric.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"ee28f00102414dc1"}},{"code_sha256_prefix":"414d6410e1b754b0","entry":"sequence_mask","repo":"HLTCHKUST/MoEL","repo_kind":"official","path":"utils/beam_omt.py","file_url":"https://github.com/HLTCHKUST/MoEL/blob/HEAD/utils/beam_omt.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"414d6410e1b754b0"}},{"code_sha256_prefix":"65dff947bbcbac08","entry":"wer","repo":"HLTCHKUST/MoEL","repo_kind":"official","path":"utils/metric.py","file_url":"https://github.com/HLTCHKUST/MoEL/blob/HEAD/utils/metric.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"65dff947bbcbac08"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}