{"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/demo-reframing-dialogue-interaction-with-fine","title":"DEMO: Reframing Dialogue Interaction with Fine-grained Element Modeling","arxiv_id":"2412.04905","date":"2024-12-06","proceeding":null,"authors":["Minzheng Wang","Xinghua Zhang","Kun Chen","Nan Xu","Haiyang Yu","Fei Huang","Wenji Mao","Yongbin Li"],"abstract":"Large language models (LLMs) have made dialogue one of the central modes in human-machine interaction, leading to the vast amounts of conversation logs and increasing demand for dialogue generation. The dialogue's life-cycle spans from the $\\textit{Prelude}$ through the $\\textit{Interlocution}$ to the $\\textit{Epilogue}$, encompassing rich dialogue elements. Despite the large volumes of dialogue-related studies, there is a lack of benchmark that encompasses comprehensive dialogue elements, which hinders precise modeling, generation and systematic evaluation. To bridge this gap, in this paper, we introduce a new research task $\\textbf{D}$ialogue $\\textbf{E}$lement $\\textbf{MO}$deling, including $\\textit{Element Awareness}$ and $\\textit{Dialogue Agent Interaction}$, and propose a novel benchmark, $\\textbf{DEMO}$, designed for a comprehensive dialogue modeling and assessment. On this basis, we further build the DEMO agent with the adept ability to model dialogue elements via imitation learning. Extensive experiments on DEMO indicate that current representative LLMs still have considerable potential for enhancement, and our DEMO agent performs well in both dialogue element modeling and out-of-domain tasks.","url_abs":"https://arxiv.org/abs/2412.04905v2","url_pdf":"https://arxiv.org/pdf/2412.04905v2.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":"demo-reframing-dialogue-interaction-with-fine","repo_url":"https://github.com/mozerwang/demo","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"none","reach":{"status":"ok","spdx":"Apache-2.0"}}],"tasks":[{"task_slug":"dialogue-generation","task_name":"Dialogue Generation"},{"task_slug":"imitation-learning","task_name":"Imitation Learning"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2412.04905","atlas_url":"https://app.syntology.ai/?focus=2412.04905","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2412.04905"}},"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/mozerwang/demo","reach":{"status":"ok","spdx":"Apache-2.0"}}],"summary":{"unverified":10},"by_repo_kind":{"official":{"samples":10,"ran":0,"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":"d10d3e42737a1b9c","entry":"build_da_prompt","repo":"mozerwang/demo","repo_kind":"official","path":"step2_eval.py","file_url":"https://github.com/mozerwang/demo/blob/HEAD/step2_eval.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"d10d3e42737a1b9c"}},{"code_sha256_prefix":"24695f1ae471648d","entry":"build_infer_prompt","repo":"mozerwang/demo","repo_kind":"official","path":"step1_infer.py","file_url":"https://github.com/mozerwang/demo/blob/HEAD/step1_infer.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"24695f1ae471648d"}},{"code_sha256_prefix":"1a926e96a8e33392","entry":"calculate_statistics","repo":"mozerwang/demo","repo_kind":"official","path":"step3_result.py","file_url":"https://github.com/mozerwang/demo/blob/HEAD/step3_result.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"1a926e96a8e33392"}},{"code_sha256_prefix":"adfc0a65509e85f5","entry":"fetch_api_result","repo":"mozerwang/demo","repo_kind":"official","path":"src/utils/generate.py","file_url":"https://github.com/mozerwang/demo/blob/HEAD/src/utils/generate.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"adfc0a65509e85f5"}},{"code_sha256_prefix":"1eecebf31c877625","entry":"get_api_results","repo":"mozerwang/demo","repo_kind":"official","path":"src/utils/generate.py","file_url":"https://github.com/mozerwang/demo/blob/HEAD/src/utils/generate.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"1eecebf31c877625"}},{"code_sha256_prefix":"9cccf6d9f0f6a247","entry":"parse_json_string","repo":"mozerwang/demo","repo_kind":"official","path":"step1_infer.py","file_url":"https://github.com/mozerwang/demo/blob/HEAD/step1_infer.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"9cccf6d9f0f6a247"}},{"code_sha256_prefix":"47be6626f245bb96","entry":"process_json","repo":"mozerwang/demo","repo_kind":"official","path":"step3_result.py","file_url":"https://github.com/mozerwang/demo/blob/HEAD/step3_result.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"47be6626f245bb96"}},{"code_sha256_prefix":"bd0d911b1d93f670","entry":"read_json_file","repo":"mozerwang/demo","repo_kind":"official","path":"src/utils/functions.py","file_url":"https://github.com/mozerwang/demo/blob/HEAD/src/utils/functions.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"bd0d911b1d93f670"}},{"code_sha256_prefix":"aa2475b60b65226f","entry":"read_jsonl","repo":"mozerwang/demo","repo_kind":"official","path":"src/utils/functions.py","file_url":"https://github.com/mozerwang/demo/blob/HEAD/src/utils/functions.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"aa2475b60b65226f"}},{"code_sha256_prefix":"fd3e5287710c0cd0","entry":"read_txt_lines","repo":"mozerwang/demo","repo_kind":"official","path":"src/utils/functions.py","file_url":"https://github.com/mozerwang/demo/blob/HEAD/src/utils/functions.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"fd3e5287710c0cd0"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}