{"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/sea-raft-simple-efficient-accurate-raft-for","title":"SEA-RAFT: Simple, Efficient, Accurate RAFT for Optical Flow","arxiv_id":"2405.14793","date":"2024-05-23","proceeding":null,"authors":["Yihan Wang","Lahav Lipson","Jia Deng"],"abstract":"We introduce SEA-RAFT, a more simple, efficient, and accurate RAFT for optical flow. Compared with RAFT, SEA-RAFT is trained with a new loss (mixture of Laplace). It directly regresses an initial flow for faster convergence in iterative refinements and introduces rigid-motion pre-training to improve generalization. SEA-RAFT achieves state-of-the-art accuracy on the Spring benchmark with a 3.69 endpoint-error (EPE) and a 0.36 1-pixel outlier rate (1px), representing 22.9% and 17.8% error reduction from best published results. In addition, SEA-RAFT obtains the best cross-dataset generalization on KITTI and Spring. With its high efficiency, SEA-RAFT operates at least 2.3x faster than existing methods while maintaining competitive performance. The code is publicly available at https://github.com/princeton-vl/SEA-RAFT.","url_abs":"https://arxiv.org/abs/2405.14793v1","url_pdf":"https://arxiv.org/pdf/2405.14793v1.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":"sea-raft-simple-efficient-accurate-raft-for","repo_url":"https://github.com/princeton-vl/sea-raft","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"BSD-3-Clause"}}],"tasks":[{"task_slug":"optical-flow-estimation","task_name":"Optical Flow Estimation"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2405.14793","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2405.14793"}},"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/princeton-vl/sea-raft","reach":{"status":"ok","spdx":"BSD-3-Clause"}},{"provenance":"deterministic:regex_extraction","url":"https://github.com/princeton-vl/SEA-RAFT","reach":{"status":"ok","spdx":"BSD-3-Clause"}}],"summary":{"ran":10,"ran_draft_wrong":2,"unverified":9},"by_repo_kind":{"official":{"samples":21,"ran":12,"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":"301fca3184f8d91b","entry":"BasicBlock","repo":"princeton-vl/SEA-RAFT","repo_kind":"official","path":"core/raft.py","file_url":"https://github.com/princeton-vl/SEA-RAFT/blob/HEAD/core/raft.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"301fca3184f8d91b"}},{"code_sha256_prefix":"6ba2978476769efb","entry":"BasicMotionEncoder","repo":"princeton-vl/SEA-RAFT","repo_kind":"official","path":"core/raft.py","file_url":"https://github.com/princeton-vl/SEA-RAFT/blob/HEAD/core/raft.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"6ba2978476769efb"}},{"code_sha256_prefix":"dde2c2ba7791a627","entry":"ConvNextBlock","repo":"princeton-vl/SEA-RAFT","repo_kind":"official","path":"core/raft.py","file_url":"https://github.com/princeton-vl/SEA-RAFT/blob/HEAD/core/raft.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"invariant","behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"dde2c2ba7791a627"}},{"code_sha256_prefix":"0098fccc539db2e9","entry":"CorrBlock","repo":"princeton-vl/SEA-RAFT","repo_kind":"official","path":"core/raft.py","file_url":"https://github.com/princeton-vl/SEA-RAFT/blob/HEAD/core/raft.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"0098fccc539db2e9"}},{"code_sha256_prefix":"cb9f4f6b9f980237","entry":"ResNetFPN","repo":"princeton-vl/SEA-RAFT","repo_kind":"official","path":"core/raft.py","file_url":"https://github.com/princeton-vl/SEA-RAFT/blob/HEAD/core/raft.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"invariant","behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"cb9f4f6b9f980237"}},{"code_sha256_prefix":"ae6c762ef411b219","entry":"calc_flow","repo":"princeton-vl/sea-raft","repo_kind":"official","path":"evaluate.py","file_url":"https://github.com/princeton-vl/sea-raft/blob/HEAD/evaluate.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"ae6c762ef411b219"}},{"code_sha256_prefix":"8e231e14adf5e82b","entry":"conv1x1","repo":"princeton-vl/SEA-RAFT","repo_kind":"official","path":"core/raft.py","file_url":"https://github.com/princeton-vl/SEA-RAFT/blob/HEAD/core/raft.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":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"8e231e14adf5e82b"}},{"code_sha256_prefix":"7599edadbb4f2bdc","entry":"conv3x3","repo":"princeton-vl/sea-raft","repo_kind":"official","path":"core/layer.py","file_url":"https://github.com/princeton-vl/sea-raft/blob/HEAD/core/layer.py","link_basis":"plan_row","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"7599edadbb4f2bdc"}},{"code_sha256_prefix":"ca34d3ce99de079e","entry":"create_color_bar","repo":"princeton-vl/sea-raft","repo_kind":"official","path":"custom.py","file_url":"https://github.com/princeton-vl/sea-raft/blob/HEAD/custom.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"ca34d3ce99de079e"}},{"code_sha256_prefix":"e1002274773ac1ed","entry":"forward_flow","repo":"princeton-vl/sea-raft","repo_kind":"official","path":"eval_ptlflow.py","file_url":"https://github.com/princeton-vl/sea-raft/blob/HEAD/eval_ptlflow.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"e1002274773ac1ed"}},{"code_sha256_prefix":"e4bb8363d020ddc7","entry":"forward_flow","repo":"princeton-vl/sea-raft","repo_kind":"official","path":"evaluate.py","file_url":"https://github.com/princeton-vl/sea-raft/blob/HEAD/evaluate.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"e4bb8363d020ddc7"}},{"code_sha256_prefix":"dc30bf72711ac850","entry":"get_heatmap","repo":"princeton-vl/sea-raft","repo_kind":"official","path":"custom.py","file_url":"https://github.com/princeton-vl/sea-raft/blob/HEAD/custom.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"dc30bf72711ac850"}},{"code_sha256_prefix":"922a2070529c18e5","entry":"BasicUpdateBlock","repo":"princeton-vl/SEA-RAFT","repo_kind":"official","path":"core/raft.py","file_url":"https://github.com/princeton-vl/SEA-RAFT/blob/HEAD/core/raft.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"922a2070529c18e5"}},{"code_sha256_prefix":"45c60fd2c3b66649","entry":"InputPadder","repo":"princeton-vl/SEA-RAFT","repo_kind":"official","path":"core/raft.py","file_url":"https://github.com/princeton-vl/SEA-RAFT/blob/HEAD/core/raft.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"45c60fd2c3b66649"}},{"code_sha256_prefix":"772cdc8f5fa96a41","entry":"RAFT","repo":"princeton-vl/SEA-RAFT","repo_kind":"official","path":"core/raft.py","file_url":"https://github.com/princeton-vl/SEA-RAFT/blob/HEAD/core/raft.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"772cdc8f5fa96a41"}},{"code_sha256_prefix":"dd4ef967a1025062","entry":"add_color_bar_to_image","repo":"princeton-vl/sea-raft","repo_kind":"official","path":"custom.py","file_url":"https://github.com/princeton-vl/sea-raft/blob/HEAD/custom.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"dd4ef967a1025062"}},{"code_sha256_prefix":"a361b215305fa3a4","entry":"bilinear_sampling","repo":"princeton-vl/sea-raft","repo_kind":"official","path":"core/corr.py","file_url":"https://github.com/princeton-vl/sea-raft/blob/HEAD/core/corr.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"a361b215305fa3a4"}},{"code_sha256_prefix":"83506963d4c65ed7","entry":"coords_corr","repo":"princeton-vl/sea-raft","repo_kind":"official","path":"core/corr.py","file_url":"https://github.com/princeton-vl/sea-raft/blob/HEAD/core/corr.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"83506963d4c65ed7"}},{"code_sha256_prefix":"27a014ca482ec5af","entry":"coords_feature","repo":"princeton-vl/sea-raft","repo_kind":"official","path":"core/corr.py","file_url":"https://github.com/princeton-vl/sea-raft/blob/HEAD/core/corr.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"27a014ca482ec5af"}},{"code_sha256_prefix":"624b113436b6e1d0","entry":"sequence_loss","repo":"princeton-vl/sea-raft","repo_kind":"official","path":"core/loss.py","file_url":"https://github.com/princeton-vl/sea-raft/blob/HEAD/core/loss.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"624b113436b6e1d0"}},{"code_sha256_prefix":"d63bf7f6f0505e08","entry":"validate_kitti","repo":"princeton-vl/sea-raft","repo_kind":"official","path":"evaluate.py","file_url":"https://github.com/princeton-vl/sea-raft/blob/HEAD/evaluate.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"d63bf7f6f0505e08"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}