{"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/regularized-frank-wolfe-for-dense-crfs","title":"Regularized Frank-Wolfe for Dense CRFs: Generalizing Mean Field and Beyond","arxiv_id":"2110.14759","date":"2021-10-27","proceeding":"NeurIPS 2021 12","authors":["Đ. Khuê Lê-Huu","Karteek Alahari"],"abstract":"We introduce regularized Frank-Wolfe, a general and effective algorithm for inference and learning of dense conditional random fields (CRFs). The algorithm optimizes a nonconvex continuous relaxation of the CRF inference problem using vanilla Frank-Wolfe with approximate updates, which are equivalent to minimizing a regularized energy function. Our proposed method is a generalization of existing algorithms such as mean field or concave-convex procedure. This perspective not only offers a unified analysis of these algorithms, but also allows an easy way of exploring different variants that potentially yield better performance. We illustrate this in our empirical results on standard semantic segmentation datasets, where several instantiations of our regularized Frank-Wolfe outperform mean field inference, both as a standalone component and as an end-to-end trainable layer in a neural network. We also show that dense CRFs, coupled with our new algorithms, produce significant improvements over strong CNN baselines.","url_abs":"https://arxiv.org/abs/2110.14759v2","url_pdf":"https://arxiv.org/pdf/2110.14759v2.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":"regularized-frank-wolfe-for-dense-crfs","repo_url":"https://github.com/netw0rkf10w/crf","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":0,"framework":"pytorch","reach":null}],"tasks":[{"task_slug":"semantic-segmentation","task_name":"Semantic Segmentation"}],"methods":[{"method_slug":"crf","method_name":"CRF"}],"datasets_introduced":[],"methods_introduced":[],"results":[{"leaderboard":"/sota/semantic-segmentation-on-cityscapes","task":"Semantic Segmentation","dataset":"Cityscapes test","model":"Euclidean Frank-Wolfe CRFs (backbone: DeepLabv3+)(coarse)","rank_in_archive_order":14,"of":105,"metrics":{"Mean IoU (class)":"83.6%"},"uses_additional_data":false}],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2110.14759","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2110.14759"}},"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/netw0rkf10w/crf","reach":null}],"summary":{"ran":1,"ran_fixture":2,"ran_draft_wrong":1,"unverified":1},"by_repo_kind":{"official":{"samples":5,"ran":4,"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":"ffcfed9406f54b9f","entry":"FrankWolfeParams","repo":"netw0rkf10w/crf","repo_kind":"official","path":"src/CRF/CRF.py","file_url":"https://github.com/netw0rkf10w/crf/blob/HEAD/src/CRF/CRF.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":"ffcfed9406f54b9f"}},{"code_sha256_prefix":"ecd35e38496327fe","entry":"create_conv_filters","repo":"netw0rkf10w/crf","repo_kind":"official","path":"src/CRF/convcrf.py","file_url":"https://github.com/netw0rkf10w/crf/blob/HEAD/src/CRF/convcrf.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"ecd35e38496327fe"}},{"code_sha256_prefix":"cd5649a5faba83c2","entry":"perform_filtering","repo":"netw0rkf10w/crf","repo_kind":"official","path":"src/CRF/convcrf.py","file_url":"https://github.com/netw0rkf10w/crf/blob/HEAD/src/CRF/convcrf.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"cd5649a5faba83c2"}},{"code_sha256_prefix":"635254ae1186a96b","entry":"unnormalize","repo":"netw0rkf10w/crf","repo_kind":"official","path":"src/CRF/CRF.py","file_url":"https://github.com/netw0rkf10w/crf/blob/HEAD/src/CRF/CRF.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"635254ae1186a96b"}},{"code_sha256_prefix":"f0739a827d3c4acc","entry":"create_position_feats","repo":"netw0rkf10w/crf","repo_kind":"official","path":"src/CRF/convcrf.py","file_url":"https://github.com/netw0rkf10w/crf/blob/HEAD/src/CRF/convcrf.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":"RAISES","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"f0739a827d3c4acc"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}