{"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/arxiv-2604-23264","title":"MotionHiFlow: Text-to-motion via hierarchical flow matching","arxiv_id":"2604.23264","date":"2026-04-25","proceeding":null,"authors":["Heng Li","Xiaotong Lin","Ling-An Zeng","Yulei Kang","Shuai Li","Jian-Fang Hu"],"abstract":"Text-to-motion generation aims to generate 3D human motions that are tightly aligned with the input text while remaining physically plausible and rich in fine-grained detail. Although recent approaches can produce complex and natural movements, they usually operate at only one temporal scale, which limits both semantic alignment and temporal coherence. Inspired by the fact that complex motions are conceptualized hierarchically rather than at a single temporal scale in the human cognitive system, we propose \\textit{MotionHiFlow}, a hierarchical flow matching framework to generate motion progressively by constructing flow path from low to high temporal scales. The flows at lower scales capture high-level semantics and coarse motion structures, while flows at higher scales refine temporal details. To link the flows across scales, we introduce a novel cross-scale transition process, ensuring continuity and preserving noise consistency. Furthermore, by integrating a Text-Motion Diffusion Transformer and a topology-aware Motion VAE, MotionHiFlow explicitly models structural dependencies among joints via joint-aware positional encoding and skeletal topology, enabling precise semantic alignment alongside fine-grained motion details. Extensive experiments on HumanML3D and KIT-ML benchmarks demonstrate state-of-the-art performance, with ablation studies confirming the effectiveness of the hierarchical design and key components. Code is available at https://github.com/ai-lh/MotionHiFlow.","url_abs":"https://arxiv.org/abs/2604.23264","url_pdf":"https://arxiv.org/pdf/2604.23264","source":{"archive":null,"snapshot":"2025-07-28","note":"not in the Papers with Code archive (frozen at the snapshot)","row_kind":"graph","title_abstract_authors_date":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)"},"code_links":[],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":null,"atlas_url":"https://app.syntology.ai/?focus=2604.23264","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2604.23264"}},"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":[{"mentioned_in_github":null,"is_official":null,"provenance":"deterministic:regex_extraction","mentioned_in_paper":null,"url":"https://github.com/ai-lh/MotionHiFlow","reach":null}],"summary":{"ran_draft_wrong":2,"ran":9,"unverified":6},"by_repo_kind":{"found_in_text":{"samples":17,"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":17,"samples":[{"code_sha256_prefix":"5f5ae82020ac7ec2","entry":"edge2mat","repo":"ai-lh/MotionHiFlow","repo_kind":"found_in_text","path":"src/utils/graph_tools.py","file_url":"https://github.com/ai-lh/MotionHiFlow/blob/HEAD/src/utils/graph_tools.py","link_basis":"plan_row","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"5f5ae82020ac7ec2"}},{"code_sha256_prefix":"d3e8dd52d4a2755a","entry":"get_k_scale_graph","repo":"ai-lh/MotionHiFlow","repo_kind":"found_in_text","path":"src/utils/graph_tools.py","file_url":"https://github.com/ai-lh/MotionHiFlow/blob/HEAD/src/utils/graph_tools.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":"d3e8dd52d4a2755a"}},{"code_sha256_prefix":"5fdf5df48906cb4f","entry":"get_padding_mask","repo":"ai-lh/MotionHiFlow","repo_kind":"found_in_text","path":"src/evaluators/t2m_eval_modules.py","file_url":"https://github.com/ai-lh/MotionHiFlow/blob/HEAD/src/evaluators/t2m_eval_modules.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":"5fdf5df48906cb4f"}},{"code_sha256_prefix":"5940d00ced3d0637","entry":"get_sgp_mat","repo":"ai-lh/MotionHiFlow","repo_kind":"found_in_text","path":"src/utils/graph_tools.py","file_url":"https://github.com/ai-lh/MotionHiFlow/blob/HEAD/src/utils/graph_tools.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":"5940d00ced3d0637"}},{"code_sha256_prefix":"aa80cf540821b93b","entry":"interpolate","repo":"ai-lh/MotionHiFlow","repo_kind":"found_in_text","path":"src/utils/interp.py","file_url":"https://github.com/ai-lh/MotionHiFlow/blob/HEAD/src/utils/interp.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":"aa80cf540821b93b"}},{"code_sha256_prefix":"e9840a10d733a764","entry":"is_number","repo":"ai-lh/MotionHiFlow","repo_kind":"found_in_text","path":"src/utils/get_opt.py","file_url":"https://github.com/ai-lh/MotionHiFlow/blob/HEAD/src/utils/get_opt.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":"e9840a10d733a764"}},{"code_sha256_prefix":"e959dab51139ef27","entry":"length_to_mask","repo":"ai-lh/MotionHiFlow","repo_kind":"found_in_text","path":"src/utils/eval_t2m.py","file_url":"https://github.com/ai-lh/MotionHiFlow/blob/HEAD/src/utils/eval_t2m.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":"e959dab51139ef27"}},{"code_sha256_prefix":"baa3a35c6527cbfc","entry":"parse_prompts","repo":"ai-lh/MotionHiFlow","repo_kind":"found_in_text","path":"gen_t2m.py","file_url":"https://github.com/ai-lh/MotionHiFlow/blob/HEAD/gen_t2m.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":"baa3a35c6527cbfc"}},{"code_sha256_prefix":"6d888496b78f2615","entry":"pool_motion","repo":"ai-lh/MotionHiFlow","repo_kind":"found_in_text","path":"src/pipelines/vae_trainer.py","file_url":"https://github.com/ai-lh/MotionHiFlow/blob/HEAD/src/pipelines/vae_trainer.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":"6d888496b78f2615"}},{"code_sha256_prefix":"cdd18b1ca5a038e1","entry":"positional_encoding","repo":"ai-lh/MotionHiFlow","repo_kind":"found_in_text","path":"src/evaluators/t2m_eval_modules.py","file_url":"https://github.com/ai-lh/MotionHiFlow/blob/HEAD/src/evaluators/t2m_eval_modules.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":"cdd18b1ca5a038e1"}},{"code_sha256_prefix":"0f0021cdea13e4da","entry":"top_k_logits","repo":"ai-lh/MotionHiFlow","repo_kind":"found_in_text","path":"src/evaluators/t2m_eval_modules.py","file_url":"https://github.com/ai-lh/MotionHiFlow/blob/HEAD/src/evaluators/t2m_eval_modules.py","link_basis":"plan_row","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"0f0021cdea13e4da"}},{"code_sha256_prefix":"939b4a7d3178c666","entry":"build_evaluators","repo":"ai-lh/MotionHiFlow","repo_kind":"found_in_text","path":"src/evaluators/t2m_eval_wrapper.py","file_url":"https://github.com/ai-lh/MotionHiFlow/blob/HEAD/src/evaluators/t2m_eval_wrapper.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":"939b4a7d3178c666"}},{"code_sha256_prefix":"0e89c3d7e91130b0","entry":"build_models","repo":"ai-lh/MotionHiFlow","repo_kind":"found_in_text","path":"src/evaluators/t2m_eval_wrapper.py","file_url":"https://github.com/ai-lh/MotionHiFlow/blob/HEAD/src/evaluators/t2m_eval_wrapper.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":"0e89c3d7e91130b0"}},{"code_sha256_prefix":"5095b9f0062251b0","entry":"capture_init_kwargs","repo":"ai-lh/MotionHiFlow","repo_kind":"found_in_text","path":"src/utils/decorator.py","file_url":"https://github.com/ai-lh/MotionHiFlow/blob/HEAD/src/utils/decorator.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":"5095b9f0062251b0"}},{"code_sha256_prefix":"65a0365600654f6e","entry":"create_text_encoder","repo":"ai-lh/MotionHiFlow","repo_kind":"found_in_text","path":"src/arch/text_encoder.py","file_url":"https://github.com/ai-lh/MotionHiFlow/blob/HEAD/src/arch/text_encoder.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":"65a0365600654f6e"}},{"code_sha256_prefix":"b1f8a286e3a73b80","entry":"is_float","repo":"ai-lh/MotionHiFlow","repo_kind":"found_in_text","path":"src/utils/get_opt.py","file_url":"https://github.com/ai-lh/MotionHiFlow/blob/HEAD/src/utils/get_opt.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":"b1f8a286e3a73b80"}},{"code_sha256_prefix":"d3167ba038ed089c","entry":"is_list","repo":"ai-lh/MotionHiFlow","repo_kind":"found_in_text","path":"src/utils/get_opt.py","file_url":"https://github.com/ai-lh/MotionHiFlow/blob/HEAD/src/utils/get_opt.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":"d3167ba038ed089c"}}]},"arxiv_metadata":{"licence":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)","fields":["title","abstract","authors","date"],"primary_category":"cs.CV","source":"arxiv_2026.jsonl"},"syntology_extracted_results":null}