{"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/automatically-select-emotion-for-response-via","title":"Automatically Select Emotion for Response via Personality-affected Emotion Transition","arxiv_id":"2106.15846","date":"2021-06-30","proceeding":"Findings (ACL) 2021 8","authors":["Wen Zhiyuan","Cao Jiannong","Yang Ruosong","Liu Shuaiqi","Shen Jiaxing"],"abstract":"To provide consistent emotional interaction with users, dialog systems should be capable to automatically select appropriate emotions for responses like humans. However, most existing works focus on rendering specified emotions in responses or empathetically respond to the emotion of users, yet the individual difference in emotion expression is overlooked. This may lead to inconsistent emotional expressions and disinterest users. To tackle this issue, we propose to equip the dialog system with personality and enable it to automatically select emotions in responses by simulating the emotion transition of humans in conversation. In detail, the emotion of the dialog system is transitioned from its preceding emotion in context. The transition is triggered by the preceding dialog context and affected by the specified personality trait. To achieve this, we first model the emotion transition in the dialog system as the variation between the preceding emotion and the response emotion in the Valence-Arousal-Dominance (VAD) emotion space. Then, we design neural networks to encode the preceding dialog context and the specified personality traits to compose the variation. Finally, the emotion for response is selected from the sum of the preceding emotion and the variation. We construct a dialog dataset with emotion and personality labels and conduct emotion prediction tasks for evaluation. Experimental results validate the effectiveness of the personality-affected emotion transition.","url_abs":"https://arxiv.org/abs/2106.15846v1","url_pdf":"https://arxiv.org/pdf/2106.15846v1.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":"automatically-select-emotion-for-response-via","repo_url":"https://github.com/preke/PELD","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":0,"framework":"pytorch","reach":null}],"tasks":[],"methods":[],"datasets_introduced":[{"slug":"peld","name":"PELD","full_name":""}],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2106.15846","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2106.15846"}},"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/preke/PELD","reach":null}],"summary":{"ran":3,"unverified":1},"by_repo_kind":{"official":{"samples":4,"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":4,"samples":[{"code_sha256_prefix":"d24debe0fbe1ac4e","entry":"RobertaClassificationHead","repo":"preke/PELD","repo_kind":"official","path":"emo_transition_src/model.py","file_url":"https://github.com/preke/PELD/blob/HEAD/emo_transition_src/model.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":"d24debe0fbe1ac4e"}},{"code_sha256_prefix":"5165b19dcd23fff3","entry":"RobertaClassificationHead_v3","repo":"preke/PELD","repo_kind":"official","path":"emo_transition_src/model.py","file_url":"https://github.com/preke/PELD/blob/HEAD/emo_transition_src/model.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"5165b19dcd23fff3"}},{"code_sha256_prefix":"670fe9365d486169","entry":"RobertaPreTrainedModel","repo":"preke/PELD","repo_kind":"official","path":"emo_transition_src/model.py","file_url":"https://github.com/preke/PELD/blob/HEAD/emo_transition_src/model.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":"670fe9365d486169"}},{"code_sha256_prefix":"4f605033c404ba28","entry":"Emo_Generation","repo":"preke/PELD","repo_kind":"official","path":"emo_transition_src/model.py","file_url":"https://github.com/preke/PELD/blob/HEAD/emo_transition_src/model.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":"4f605033c404ba28"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}