{"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/causal-conditional-hidden-markov-model-for","title":"Causal conditional hidden Markov model for multimodal traffic prediction","arxiv_id":"2301.08249","date":"2023-01-19","proceeding":null,"authors":["Yu Zhao","Pan Deng","Junting Liu","Xiaofeng Jia","Mulan Wang"],"abstract":"Multimodal traffic flow can reflect the health of the transportation system, and its prediction is crucial to urban traffic management. Recent works overemphasize spatio-temporal correlations of traffic flow, ignoring the physical concepts that lead to the generation of observations and their causal relationship. Spatio-temporal correlations are considered unstable under the influence of different conditions, and spurious correlations may exist in observations. In this paper, we analyze the physical concepts affecting the generation of multimode traffic flow from the perspective of the observation generation principle and propose a Causal Conditional Hidden Markov Model (CCHMM) to predict multimodal traffic flow. In the latent variables inference stage, a posterior network disentangles the causal representations of the concepts of interest from conditional information and observations, and a causal propagation module mines their causal relationship. In the data generation stage, a prior network samples the causal latent variables from the prior distribution and feeds them into the generator to generate multimodal traffic flow. We use a mutually supervised training method for the prior and posterior to enhance the identifiability of the model. Experiments on real-world datasets show that CCHMM can effectively disentangle causal representations of concepts of interest and identify causality, and accurately predict multimodal traffic flow.","url_abs":"https://arxiv.org/abs/2301.08249v1","url_pdf":"https://arxiv.org/pdf/2301.08249v1.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":"causal-conditional-hidden-markov-model-for","repo_url":"https://github.com/eternityzy/cchmm","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":0,"framework":"pytorch","reach":null}],"tasks":[{"task_slug":"management","task_name":"Management"},{"task_slug":"prediction","task_name":"Prediction"},{"task_slug":"traffic-prediction","task_name":"Traffic Prediction"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2301.08249","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2301.08249"}},"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/EternityZY/CCHMM","reach":null}],"summary":{"ran":9,"ran_draft_wrong":2,"unverified":2},"by_repo_kind":{"official":{"samples":13,"ran":11,"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":"597fc4a17fd92e8b","entry":"Attention","repo":"EternityZY/CCHMM","repo_kind":"official","path":"models/CausalHMM.py","file_url":"https://github.com/EternityZY/CCHMM/blob/HEAD/models/CausalHMM.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"597fc4a17fd92e8b"}},{"code_sha256_prefix":"d0a1ad0fefeef10e","entry":"GraphGRU","repo":"EternityZY/CCHMM","repo_kind":"official","path":"models/CausalHMM.py","file_url":"https://github.com/EternityZY/CCHMM/blob/HEAD/models/CausalHMM.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"d0a1ad0fefeef10e"}},{"code_sha256_prefix":"c35c78412ee2bf5a","entry":"NonlinearTransforms","repo":"EternityZY/CCHMM","repo_kind":"official","path":"models/CausalHMM.py","file_url":"https://github.com/EternityZY/CCHMM/blob/HEAD/models/CausalHMM.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"c35c78412ee2bf5a"}},{"code_sha256_prefix":"44ec0108f5988c87","entry":"PosteriorNet","repo":"EternityZY/CCHMM","repo_kind":"official","path":"models/CausalHMM.py","file_url":"https://github.com/EternityZY/CCHMM/blob/HEAD/models/CausalHMM.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"44ec0108f5988c87"}},{"code_sha256_prefix":"d80214b291d04a83","entry":"PriorNet","repo":"EternityZY/CCHMM","repo_kind":"official","path":"models/CausalHMM.py","file_url":"https://github.com/EternityZY/CCHMM/blob/HEAD/models/CausalHMM.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"d80214b291d04a83"}},{"code_sha256_prefix":"90f0422e78153086","entry":"SCM","repo":"EternityZY/CCHMM","repo_kind":"official","path":"models/CausalHMM.py","file_url":"https://github.com/EternityZY/CCHMM/blob/HEAD/models/CausalHMM.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"90f0422e78153086"}},{"code_sha256_prefix":"d2c010b419f09240","entry":"_h_A","repo":"EternityZY/CCHMM","repo_kind":"official","path":"models/CausalHMM.py","file_url":"https://github.com/EternityZY/CCHMM/blob/HEAD/models/CausalHMM.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"d2c010b419f09240"}},{"code_sha256_prefix":"7d7bf352b9643fa4","entry":"gconv","repo":"EternityZY/CCHMM","repo_kind":"official","path":"models/CausalHMM.py","file_url":"https://github.com/EternityZY/CCHMM/blob/HEAD/models/CausalHMM.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"7d7bf352b9643fa4"}},{"code_sha256_prefix":"8c01dd40f3a8b2b6","entry":"linear","repo":"EternityZY/CCHMM","repo_kind":"official","path":"models/CausalHMM.py","file_url":"https://github.com/EternityZY/CCHMM/blob/HEAD/models/CausalHMM.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"8c01dd40f3a8b2b6"}},{"code_sha256_prefix":"b09b6a0ef2ebc9e0","entry":"matrix_poly","repo":"EternityZY/CCHMM","repo_kind":"official","path":"models/CausalHMM.py","file_url":"https://github.com/EternityZY/CCHMM/blob/HEAD/models/CausalHMM.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"b09b6a0ef2ebc9e0"}},{"code_sha256_prefix":"bdde914c03aee222","entry":"mixpropGCN","repo":"EternityZY/CCHMM","repo_kind":"official","path":"models/CausalHMM.py","file_url":"https://github.com/EternityZY/CCHMM/blob/HEAD/models/CausalHMM.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"bdde914c03aee222"}},{"code_sha256_prefix":"57c9c2eab908962d","entry":"CCausalHMM","repo":"EternityZY/CCHMM","repo_kind":"official","path":"models/CausalHMM.py","file_url":"https://github.com/EternityZY/CCHMM/blob/HEAD/models/CausalHMM.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":"57c9c2eab908962d"}},{"code_sha256_prefix":"371e0870ae77ecbd","entry":"kl_normal_log","repo":"EternityZY/CCHMM","repo_kind":"official","path":"models/CausalHMM.py","file_url":"https://github.com/EternityZY/CCHMM/blob/HEAD/models/CausalHMM.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":"371e0870ae77ecbd"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}