{"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/flowpolicy-enabling-fast-and-robust-3d-flow","title":"FlowPolicy: Enabling Fast and Robust 3D Flow-based Policy via Consistency Flow Matching for Robot Manipulation","arxiv_id":"2412.04987","date":"2024-12-06","proceeding":null,"authors":["Qinglun Zhang","Zhen Liu","Haoqiang Fan","Guanghui Liu","Bing Zeng","Shuaicheng Liu"],"abstract":"Robots can acquire complex manipulation skills by learning policies from expert demonstrations, which is often known as vision-based imitation learning. Generating policies based on diffusion and flow matching models has been shown to be effective, particularly in robotic manipulation tasks. However, recursion-based approaches are inference inefficient in working from noise distributions to policy distributions, posing a challenging trade-off between efficiency and quality. This motivates us to propose FlowPolicy, a novel framework for fast policy generation based on consistency flow matching and 3D vision. Our approach refines the flow dynamics by normalizing the self-consistency of the velocity field, enabling the model to derive task execution policies in a single inference step. Specifically, FlowPolicy conditions on the observed 3D point cloud, where consistency flow matching directly defines straight-line flows from different time states to the same action space, while simultaneously constraining their velocity values, that is, we approximate the trajectories from noise to robot actions by normalizing the self-consistency of the velocity field within the action space, thus improving the inference efficiency. We validate the effectiveness of FlowPolicy in Adroit and Metaworld, demonstrating a 7$\\times$ increase in inference speed while maintaining competitive average success rates compared to state-of-the-art methods. Code is available at https://github.com/zql-kk/FlowPolicy.","url_abs":"https://arxiv.org/abs/2412.04987v2","url_pdf":"https://arxiv.org/pdf/2412.04987v2.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":"links_only","authors_date_abstract":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license), from the Kaggle arXiv metadata snapshot of 2026-09-12"},"code_links":[{"paper_slug":"flowpolicy-enabling-fast-and-robust-3d-flow","repo_url":"https://github.com/zql-kk/flowpolicy","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"none","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2412.04987","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2412.04987"}},"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":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/zql-kk/flowpolicy","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"ran":1,"unverified":10},"by_repo_kind":{"official":{"samples":11,"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":"3ac11bfe0ae80195","entry":"variance_scaling","repo":"zql-kk/flowpolicy","repo_kind":"official","path":"FlowPolicy/flow_policy_3d/models/layers.py","file_url":"https://github.com/zql-kk/flowpolicy/blob/HEAD/FlowPolicy/flow_policy_3d/models/layers.py","link_basis":"harvester_set","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":"3ac11bfe0ae80195"}},{"code_sha256_prefix":"db5f935a1d6b4c2c","entry":"get_act","repo":"zql-kk/flowpolicy","repo_kind":"official","path":"FlowPolicy/flow_policy_3d/models/layers.py","file_url":"https://github.com/zql-kk/flowpolicy/blob/HEAD/FlowPolicy/flow_policy_3d/models/layers.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":"db5f935a1d6b4c2c"}},{"code_sha256_prefix":"4ef47725fbf57309","entry":"get_consistency_flow_matching_loss_fn","repo":"zql-kk/flowpolicy","repo_kind":"official","path":"FlowPolicy/flow_policy_3d/losses.py","file_url":"https://github.com/zql-kk/flowpolicy/blob/HEAD/FlowPolicy/flow_policy_3d/losses.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":"4ef47725fbf57309"}},{"code_sha256_prefix":"b3e18524b8df81a1","entry":"get_model","repo":"zql-kk/flowpolicy","repo_kind":"official","path":"FlowPolicy/flow_policy_3d/models/utils.py","file_url":"https://github.com/zql-kk/flowpolicy/blob/HEAD/FlowPolicy/flow_policy_3d/models/utils.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":"b3e18524b8df81a1"}},{"code_sha256_prefix":"1b8adb3294e53c6d","entry":"get_normalization","repo":"zql-kk/flowpolicy","repo_kind":"official","path":"FlowPolicy/flow_policy_3d/models/normalization.py","file_url":"https://github.com/zql-kk/flowpolicy/blob/HEAD/FlowPolicy/flow_policy_3d/models/normalization.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":"1b8adb3294e53c6d"}},{"code_sha256_prefix":"cff310f0f7ccdf0c","entry":"get_sigmas","repo":"zql-kk/flowpolicy","repo_kind":"official","path":"FlowPolicy/flow_policy_3d/models/utils.py","file_url":"https://github.com/zql-kk/flowpolicy/blob/HEAD/FlowPolicy/flow_policy_3d/models/utils.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":"cff310f0f7ccdf0c"}},{"code_sha256_prefix":"8db300b9f1afb2d3","entry":"get_weight","repo":"zql-kk/flowpolicy","repo_kind":"official","path":"FlowPolicy/flow_policy_3d/models/up_or_down_sampling.py","file_url":"https://github.com/zql-kk/flowpolicy/blob/HEAD/FlowPolicy/flow_policy_3d/models/up_or_down_sampling.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":"8db300b9f1afb2d3"}},{"code_sha256_prefix":"e0ca74cc0ccd0e50","entry":"naive_downsample_2d","repo":"zql-kk/flowpolicy","repo_kind":"official","path":"FlowPolicy/flow_policy_3d/models/up_or_down_sampling.py","file_url":"https://github.com/zql-kk/flowpolicy/blob/HEAD/FlowPolicy/flow_policy_3d/models/up_or_down_sampling.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":"e0ca74cc0ccd0e50"}},{"code_sha256_prefix":"f425357463a3de36","entry":"naive_upsample_2d","repo":"zql-kk/flowpolicy","repo_kind":"official","path":"FlowPolicy/flow_policy_3d/models/up_or_down_sampling.py","file_url":"https://github.com/zql-kk/flowpolicy/blob/HEAD/FlowPolicy/flow_policy_3d/models/up_or_down_sampling.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":"f425357463a3de36"}},{"code_sha256_prefix":"85b2235eb7afaa4f","entry":"ncsn_conv1x1","repo":"zql-kk/flowpolicy","repo_kind":"official","path":"FlowPolicy/flow_policy_3d/models/layers.py","file_url":"https://github.com/zql-kk/flowpolicy/blob/HEAD/FlowPolicy/flow_policy_3d/models/layers.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":"85b2235eb7afaa4f"}},{"code_sha256_prefix":"e4b39361eb110388","entry":"register_model","repo":"zql-kk/flowpolicy","repo_kind":"official","path":"FlowPolicy/flow_policy_3d/models/utils.py","file_url":"https://github.com/zql-kk/flowpolicy/blob/HEAD/FlowPolicy/flow_policy_3d/models/utils.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":"e4b39361eb110388"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}