{"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/conversations-are-not-flat-modeling-the","title":"Conversations Are Not Flat: Modeling the Dynamic Information Flow across Dialogue Utterances","arxiv_id":"2106.02227","date":"2021-06-04","proceeding":"ACL 2021 5","authors":["Zekang Li","Jinchao Zhang","Zhengcong Fei","Yang Feng","Jie zhou"],"abstract":"Nowadays, open-domain dialogue models can generate acceptable responses according to the historical context based on the large-scale pre-trained language models. However, they generally concatenate the dialogue history directly as the model input to predict the response, which we named as the flat pattern and ignores the dynamic information flow across dialogue utterances. In this work, we propose the DialoFlow model, in which we introduce a dynamic flow mechanism to model the context flow, and design three training objectives to capture the information dynamics across dialogue utterances by addressing the semantic influence brought about by each utterance in large-scale pre-training. Experiments on the multi-reference Reddit Dataset and DailyDialog Dataset demonstrate that our DialoFlow significantly outperforms the DialoGPT on the dialogue generation task. Besides, we propose the Flow score, an effective automatic metric for evaluating interactive human-bot conversation quality based on the pre-trained DialoFlow, which presents high chatbot-level correlation ($r=0.9$) with human ratings among 11 chatbots. Code and pre-trained models will be public. \\footnote{\\url{https://github.com/ictnlp/DialoFlow}}","url_abs":"https://arxiv.org/abs/2106.02227v1","url_pdf":"https://arxiv.org/pdf/2106.02227v1.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":"conversations-are-not-flat-modeling-the","repo_url":"https://github.com/ictnlp/DialoFlow","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":null}],"tasks":[{"task_slug":"chatbot","task_name":"Chatbot"},{"task_slug":"dialogue-evaluation","task_name":"Dialogue Evaluation"},{"task_slug":"dialogue-generation","task_name":"Dialogue Generation"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2106.02227","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2106.02227"}},"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/microsoft/DialoGPT","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/ictnlp/DialoFlow","reach":null}],"summary":{"ran_draft_wrong":1,"ran":1,"ran_honours":1,"unverified":6},"by_repo_kind":{"official":{"samples":3,"ran":2,"repositories":1},"found_in_text":{"samples":6,"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":"385589ef87a5a935","entry":"build_input_from_dialogue","repo":"ictnlp/DialoFlow","repo_kind":"official","path":"FlowScore/flow_score.py","file_url":"https://github.com/ictnlp/DialoFlow/blob/HEAD/FlowScore/flow_score.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"385589ef87a5a935"}},{"code_sha256_prefix":"ac28a2d89a01c888","entry":"tokenize","repo":"ictnlp/DialoFlow","repo_kind":"official","path":"FlowScore/flow_score.py","file_url":"https://github.com/ictnlp/DialoFlow/blob/HEAD/FlowScore/flow_score.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"ac28a2d89a01c888"}},{"code_sha256_prefix":"e7d542062316094a","entry":"warmup_constant","repo":"microsoft/DialoGPT","repo_kind":"found_in_text","path":"lsp_model/optim.py","file_url":"https://github.com/microsoft/DialoGPT/blob/HEAD/lsp_model/optim.py","link_basis":"harvester_set","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"e7d542062316094a"}},{"code_sha256_prefix":"861f7ff4e297e382","entry":"FlowScore","repo":"ictnlp/DialoFlow","repo_kind":"official","path":"FlowScore/flow_score.py","file_url":"https://github.com/ictnlp/DialoFlow/blob/HEAD/FlowScore/flow_score.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":"861f7ff4e297e382"}},{"code_sha256_prefix":"c094cc72d23d1e50","entry":"extract_cells","repo":"microsoft/DialoGPT","repo_kind":"found_in_text","path":"dstc/dstc.py","file_url":"https://github.com/microsoft/DialoGPT/blob/HEAD/dstc/dstc.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":"c094cc72d23d1e50"}},{"code_sha256_prefix":"236b861359e463f4","entry":"extract_hyp_refs","repo":"microsoft/DialoGPT","repo_kind":"found_in_text","path":"dstc/dstc.py","file_url":"https://github.com/microsoft/DialoGPT/blob/HEAD/dstc/dstc.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":"236b861359e463f4"}},{"code_sha256_prefix":"433d721ced15e3bc","entry":"extract_linc_cells","repo":"microsoft/DialoGPT","repo_kind":"found_in_text","path":"dstc/dstc.py","file_url":"https://github.com/microsoft/DialoGPT/blob/HEAD/dstc/dstc.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":"433d721ced15e3bc"}},{"code_sha256_prefix":"35f7cddf90dd05d4","entry":"warmup_cosine","repo":"microsoft/DialoGPT","repo_kind":"found_in_text","path":"lsp_model/optim.py","file_url":"https://github.com/microsoft/DialoGPT/blob/HEAD/lsp_model/optim.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":"35f7cddf90dd05d4"}},{"code_sha256_prefix":"b9677405617b9ad6","entry":"warmup_linear","repo":"microsoft/DialoGPT","repo_kind":"found_in_text","path":"lsp_model/optim.py","file_url":"https://github.com/microsoft/DialoGPT/blob/HEAD/lsp_model/optim.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":"b9677405617b9ad6"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}