{"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/predictive-flows-for-faster-ford-fulkerson","title":"Predictive Flows for Faster Ford-Fulkerson","arxiv_id":"2303.00837","date":"2023-03-01","proceeding":null,"authors":["Sami Davies","Benjamin Moseley","Sergei Vassilvitskii","Yuyan Wang"],"abstract":"Recent work has shown that leveraging learned predictions can improve the running time of algorithms for bipartite matching and similar combinatorial problems. In this work, we build on this idea to improve the performance of the widely used Ford-Fulkerson algorithm for computing maximum flows by seeding Ford-Fulkerson with predicted flows. Our proposed method offers strong theoretical performance in terms of the quality of the prediction. We then consider image segmentation, a common use-case of flows in computer vision, and complement our theoretical analysis with strong empirical results.","url_abs":"https://arxiv.org/abs/2303.00837v1","url_pdf":"https://arxiv.org/pdf/2303.00837v1.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":"predictive-flows-for-faster-ford-fulkerson","repo_url":"https://github.com/wang-yuyan/warmstart-graphcut-algorithms-pulic","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":0,"framework":"none","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2303.00837","atlas_url":"https://app.syntology.ai/?focus=2303.00837","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2303.00837"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-25T09:33:49+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/wang-yuyan/warmstart-graphcut-algorithms-pulic","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"ran":9,"unverified":5},"by_repo_kind":{"official":{"samples":14,"ran":9,"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":"9caa32f382144cdf","entry":"BuildRdGraph","repo":"wang-yuyan/warmstart-graphcut-algorithms-pulic","repo_kind":"official","path":"warmstart.py","file_url":"https://github.com/wang-yuyan/warmstart-graphcut-algorithms-pulic/blob/HEAD/warmstart.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":"9caa32f382144cdf"}},{"code_sha256_prefix":"d5056df8184a3828","entry":"FeasRestoreIter","repo":"wang-yuyan/warmstart-graphcut-algorithms-pulic","repo_kind":"official","path":"warmstart.py","file_url":"https://github.com/wang-yuyan/warmstart-graphcut-algorithms-pulic/blob/HEAD/warmstart.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":"d5056df8184a3828"}},{"code_sha256_prefix":"4565367ba2062c7d","entry":"augmentingPath","repo":"wang-yuyan/warmstart-graphcut-algorithms-pulic","repo_kind":"official","path":"augmentingPath.py","file_url":"https://github.com/wang-yuyan/warmstart-graphcut-algorithms-pulic/blob/HEAD/augmentingPath.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":"4565367ba2062c7d"}},{"code_sha256_prefix":"fa75a7ef81db9995","entry":"bfs","repo":"wang-yuyan/warmstart-graphcut-algorithms-pulic","repo_kind":"official","path":"augmentingPath.py","file_url":"https://github.com/wang-yuyan/warmstart-graphcut-algorithms-pulic/blob/HEAD/augmentingPath.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":"fa75a7ef81db9995"}},{"code_sha256_prefix":"8f2f97d37d13e7ed","entry":"boundaryPenalty","repo":"wang-yuyan/warmstart-graphcut-algorithms-pulic","repo_kind":"official","path":"imagesegmentation.py","file_url":"https://github.com/wang-yuyan/warmstart-graphcut-algorithms-pulic/blob/HEAD/imagesegmentation.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"8f2f97d37d13e7ed"}},{"code_sha256_prefix":"e503655d38845884","entry":"dfs","repo":"wang-yuyan/warmstart-graphcut-algorithms-pulic","repo_kind":"official","path":"augmentingPath.py","file_url":"https://github.com/wang-yuyan/warmstart-graphcut-algorithms-pulic/blob/HEAD/augmentingPath.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":"e503655d38845884"}},{"code_sha256_prefix":"c36b61954251cd64","entry":"mstd","repo":"wang-yuyan/warmstart-graphcut-algorithms-pulic","repo_kind":"official","path":"average.py","file_url":"https://github.com/wang-yuyan/warmstart-graphcut-algorithms-pulic/blob/HEAD/average.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"c36b61954251cd64"}},{"code_sha256_prefix":"cc70b0d45ca32bce","entry":"push","repo":"wang-yuyan/warmstart-graphcut-algorithms-pulic","repo_kind":"official","path":"pushRelabel.py","file_url":"https://github.com/wang-yuyan/warmstart-graphcut-algorithms-pulic/blob/HEAD/pushRelabel.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":"cc70b0d45ca32bce"}},{"code_sha256_prefix":"a0f01ea78ec163a4","entry":"pushRelabel","repo":"wang-yuyan/warmstart-graphcut-algorithms-pulic","repo_kind":"official","path":"pushRelabel.py","file_url":"https://github.com/wang-yuyan/warmstart-graphcut-algorithms-pulic/blob/HEAD/pushRelabel.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":"a0f01ea78ec163a4"}},{"code_sha256_prefix":"0b65a3917226501d","entry":"FeasProj","repo":"wang-yuyan/warmstart-graphcut-algorithms-pulic","repo_kind":"official","path":"warmstart.py","file_url":"https://github.com/wang-yuyan/warmstart-graphcut-algorithms-pulic/blob/HEAD/warmstart.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":"0b65a3917226501d"}},{"code_sha256_prefix":"faab442a2eb7d75e","entry":"ScaleSeeds","repo":"wang-yuyan/warmstart-graphcut-algorithms-pulic","repo_kind":"official","path":"imagesegmentation.py","file_url":"https://github.com/wang-yuyan/warmstart-graphcut-algorithms-pulic/blob/HEAD/imagesegmentation.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":"faab442a2eb7d75e"}},{"code_sha256_prefix":"764f69dd2a5f0acc","entry":"imagegroup","repo":"wang-yuyan/warmstart-graphcut-algorithms-pulic","repo_kind":"official","path":"image_cropping.py","file_url":"https://github.com/wang-yuyan/warmstart-graphcut-algorithms-pulic/blob/HEAD/image_cropping.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":"764f69dd2a5f0acc"}},{"code_sha256_prefix":"939fc9bacea838a5","entry":"overFlowVertex","repo":"wang-yuyan/warmstart-graphcut-algorithms-pulic","repo_kind":"official","path":"pushRelabel.py","file_url":"https://github.com/wang-yuyan/warmstart-graphcut-algorithms-pulic/blob/HEAD/pushRelabel.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":"939fc9bacea838a5"}},{"code_sha256_prefix":"01e05df240c864e8","entry":"plantSeed","repo":"wang-yuyan/warmstart-graphcut-algorithms-pulic","repo_kind":"official","path":"imagesegmentation.py","file_url":"https://github.com/wang-yuyan/warmstart-graphcut-algorithms-pulic/blob/HEAD/imagesegmentation.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":"01e05df240c864e8"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}