{"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/dpf-learning-dense-prediction-fields-with","title":"DPF: Learning Dense Prediction Fields with Weak Supervision","arxiv_id":"2303.16890","date":"2023-03-29","proceeding":"CVPR 2023 1","authors":["Xiaoxue Chen","Yuhang Zheng","Yupeng Zheng","Qiang Zhou","Hao Zhao","Guyue Zhou","Ya-Qin Zhang"],"abstract":"Nowadays, many visual scene understanding problems are addressed by dense prediction networks. But pixel-wise dense annotations are very expensive (e.g., for scene parsing) or impossible (e.g., for intrinsic image decomposition), motivating us to leverage cheap point-level weak supervision. However, existing pointly-supervised methods still use the same architecture designed for full supervision. In stark contrast to them, we propose a new paradigm that makes predictions for point coordinate queries, as inspired by the recent success of implicit representations, like distance or radiance fields. As such, the method is named as dense prediction fields (DPFs). DPFs generate expressive intermediate features for continuous sub-pixel locations, thus allowing outputs of an arbitrary resolution. DPFs are naturally compatible with point-level supervision. We showcase the effectiveness of DPFs using two substantially different tasks: high-level semantic parsing and low-level intrinsic image decomposition. In these two cases, supervision comes in the form of single-point semantic category and two-point relative reflectance, respectively. As benchmarked by three large-scale public datasets PASCALContext, ADE20K and IIW, DPFs set new state-of-the-art performance on all of them with significant margins. Code can be accessed at https://github.com/cxx226/DPF.","url_abs":"https://arxiv.org/abs/2303.16890v1","url_pdf":"https://arxiv.org/pdf/2303.16890v1.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":"dpf-learning-dense-prediction-fields-with","repo_url":"https://github.com/cxx226/dpf","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":null}],"tasks":[{"task_slug":"intrinsic-image-decomposition","task_name":"Intrinsic Image Decomposition"},{"task_slug":"prediction","task_name":"Prediction"},{"task_slug":"scene-parsing","task_name":"Scene Parsing"},{"task_slug":"scene-understanding","task_name":"Scene Understanding"},{"task_slug":"semantic-parsing","task_name":"Semantic Parsing"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2303.16890","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2303.16890"}},"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":"deterministic:regex_extraction","url":"https://github.com/cxx226/DPF","reach":null}],"summary":{"ran":13,"ran_draft_wrong":7,"ran_fixture":3,"unverified":11},"by_repo_kind":{"official":{"samples":33,"ran":22,"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":34,"samples":[{"code_sha256_prefix":"e0242f128cfc116b","entry":"AddReadout","repo":"cxx226/DPF","repo_kind":"official","path":"model/models.py","file_url":"https://github.com/cxx226/DPF/blob/HEAD/model/models.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"e0242f128cfc116b"}},{"code_sha256_prefix":"4e5fbbbd79b1669f","entry":"DPF","repo":"cxx226/DPF","repo_kind":"official","path":"model/models.py","file_url":"https://github.com/cxx226/DPF/blob/HEAD/model/models.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"4e5fbbbd79b1669f"}},{"code_sha256_prefix":"1142d6a583b67661","entry":"EDSR","repo":"cxx226/DPF","repo_kind":"official","path":"model/models.py","file_url":"https://github.com/cxx226/DPF/blob/HEAD/model/models.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"1142d6a583b67661"}},{"code_sha256_prefix":"1b391b7304db7f29","entry":"FeatureFusionBlock_custom","repo":"cxx226/DPF","repo_kind":"official","path":"model/models.py","file_url":"https://github.com/cxx226/DPF/blob/HEAD/model/models.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":"1b391b7304db7f29"}},{"code_sha256_prefix":"0f7d8735b1abcda7","entry":"Interpolate","repo":"cxx226/DPF","repo_kind":"official","path":"model/models.py","file_url":"https://github.com/cxx226/DPF/blob/HEAD/model/models.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"0f7d8735b1abcda7"}},{"code_sha256_prefix":"6288d5b0eb3efe75","entry":"MLP","repo":"cxx226/DPF","repo_kind":"official","path":"model/models.py","file_url":"https://github.com/cxx226/DPF/blob/HEAD/model/models.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"6288d5b0eb3efe75"}},{"code_sha256_prefix":"114d5b722c37bab2","entry":"MeanShift","repo":"cxx226/DPF","repo_kind":"official","path":"model/models.py","file_url":"https://github.com/cxx226/DPF/blob/HEAD/model/models.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"114d5b722c37bab2"}},{"code_sha256_prefix":"ae3b924395f9c330","entry":"ProjectReadout","repo":"cxx226/DPF","repo_kind":"official","path":"model/models.py","file_url":"https://github.com/cxx226/DPF/blob/HEAD/model/models.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"ae3b924395f9c330"}},{"code_sha256_prefix":"c6657b9aea514012","entry":"ResBlock","repo":"cxx226/DPF","repo_kind":"official","path":"model/models.py","file_url":"https://github.com/cxx226/DPF/blob/HEAD/model/models.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"c6657b9aea514012"}},{"code_sha256_prefix":"d79ee8f1590629da","entry":"ResidualConvUnit_custom","repo":"cxx226/DPF","repo_kind":"official","path":"model/models.py","file_url":"https://github.com/cxx226/DPF/blob/HEAD/model/models.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"d79ee8f1590629da"}},{"code_sha256_prefix":"e83f1144bdb3d4b3","entry":"Slice","repo":"cxx226/DPF","repo_kind":"official","path":"model/models.py","file_url":"https://github.com/cxx226/DPF/blob/HEAD/model/models.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"e83f1144bdb3d4b3"}},{"code_sha256_prefix":"f04fbb95b10651aa","entry":"Transpose","repo":"cxx226/DPF","repo_kind":"official","path":"model/models.py","file_url":"https://github.com/cxx226/DPF/blob/HEAD/model/models.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"f04fbb95b10651aa"}},{"code_sha256_prefix":"d8359ebc34725fec","entry":"Upsampler","repo":"cxx226/DPF","repo_kind":"official","path":"model/models.py","file_url":"https://github.com/cxx226/DPF/blob/HEAD/model/models.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"d8359ebc34725fec"}},{"code_sha256_prefix":"5d65041a654eac0d","entry":"_make_fusion_block","repo":"cxx226/DPF","repo_kind":"official","path":"model/models.py","file_url":"https://github.com/cxx226/DPF/blob/HEAD/model/models.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"5d65041a654eac0d"}},{"code_sha256_prefix":"84a9635ddfb7beb0","entry":"_make_pretrained_resnext101_wsl","repo":"cxx226/DPF","repo_kind":"official","path":"model/models.py","file_url":"https://github.com/cxx226/DPF/blob/HEAD/model/models.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"84a9635ddfb7beb0"}},{"code_sha256_prefix":"e20b4397fd272cb1","entry":"_make_resnet_backbone","repo":"cxx226/DPF","repo_kind":"official","path":"model/models.py","file_url":"https://github.com/cxx226/DPF/blob/HEAD/model/models.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"e20b4397fd272cb1"}},{"code_sha256_prefix":"1b142d7e201aadb6","entry":"_make_scratch","repo":"cxx226/DPF","repo_kind":"official","path":"model/models.py","file_url":"https://github.com/cxx226/DPF/blob/HEAD/model/models.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"1b142d7e201aadb6"}},{"code_sha256_prefix":"1861fe8d8891e299","entry":"_make_vit_b16_backbone","repo":"cxx226/DPF","repo_kind":"official","path":"model/models.py","file_url":"https://github.com/cxx226/DPF/blob/HEAD/model/models.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"1861fe8d8891e299"}},{"code_sha256_prefix":"58154d08d4b0040b","entry":"_resize_pos_embed","repo":"cxx226/DPF","repo_kind":"official","path":"model/models.py","file_url":"https://github.com/cxx226/DPF/blob/HEAD/model/models.py","link_basis":"first_harvest_node","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":"58154d08d4b0040b"}},{"code_sha256_prefix":"7e1f7c581619b800","entry":"default_conv","repo":null,"repo_kind":null,"path":null,"file_url":null,"link_basis":"identical_code_first_harvested_elsewhere","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":null,"inline_ok":false,"mcp_get_code":{"code_sha256":"7e1f7c581619b800"}},{"code_sha256_prefix":"ce084f35333b37ef","entry":"get_attention","repo":"cxx226/DPF","repo_kind":"official","path":"model/models.py","file_url":"https://github.com/cxx226/DPF/blob/HEAD/model/models.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":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"ce084f35333b37ef"}},{"code_sha256_prefix":"a746082c2d6d6a83","entry":"get_readout_oper","repo":"cxx226/DPF","repo_kind":"official","path":"model/models.py","file_url":"https://github.com/cxx226/DPF/blob/HEAD/model/models.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"a746082c2d6d6a83"}},{"code_sha256_prefix":"002a7e71085f0700","entry":"make_coord","repo":"cxx226/DPF","repo_kind":"official","path":"model/models.py","file_url":"https://github.com/cxx226/DPF/blob/HEAD/model/models.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"002a7e71085f0700"}},{"code_sha256_prefix":"5f7a361f552292c8","entry":"DPT","repo":"cxx226/DPF","repo_kind":"official","path":"model/models.py","file_url":"https://github.com/cxx226/DPF/blob/HEAD/model/models.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":"5f7a361f552292c8"}},{"code_sha256_prefix":"6f6bcca8de88d63d","entry":"DPTSegmentationModel","repo":"cxx226/DPF","repo_kind":"official","path":"model/models.py","file_url":"https://github.com/cxx226/DPF/blob/HEAD/model/models.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":"6f6bcca8de88d63d"}},{"code_sha256_prefix":"f54b73ee44ac735c","entry":"IIF","repo":"cxx226/DPF","repo_kind":"official","path":"model/models.py","file_url":"https://github.com/cxx226/DPF/blob/HEAD/model/models.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":"f54b73ee44ac735c"}},{"code_sha256_prefix":"43ff8f65c054911f","entry":"_make_encoder","repo":"cxx226/DPF","repo_kind":"official","path":"model/models.py","file_url":"https://github.com/cxx226/DPF/blob/HEAD/model/models.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":"43ff8f65c054911f"}},{"code_sha256_prefix":"2ebe40573dc5b710","entry":"_make_pretrained_vitb16_384","repo":"cxx226/DPF","repo_kind":"official","path":"model/models.py","file_url":"https://github.com/cxx226/DPF/blob/HEAD/model/models.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":"2ebe40573dc5b710"}},{"code_sha256_prefix":"40775ab50a5ff37c","entry":"_make_pretrained_vitb_rn50_384","repo":"cxx226/DPF","repo_kind":"official","path":"model/models.py","file_url":"https://github.com/cxx226/DPF/blob/HEAD/model/models.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":"40775ab50a5ff37c"}},{"code_sha256_prefix":"67b2af734a30e8f9","entry":"_make_pretrained_vitl16_384","repo":"cxx226/DPF","repo_kind":"official","path":"model/models.py","file_url":"https://github.com/cxx226/DPF/blob/HEAD/model/models.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":"67b2af734a30e8f9"}},{"code_sha256_prefix":"14876b0faafc7f1b","entry":"_make_vit_b_rn50_backbone","repo":"cxx226/DPF","repo_kind":"official","path":"model/models.py","file_url":"https://github.com/cxx226/DPF/blob/HEAD/model/models.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":"14876b0faafc7f1b"}},{"code_sha256_prefix":"d72f855ae1d26ef9","entry":"forward_flex","repo":"cxx226/DPF","repo_kind":"official","path":"model/models.py","file_url":"https://github.com/cxx226/DPF/blob/HEAD/model/models.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":"d72f855ae1d26ef9"}},{"code_sha256_prefix":"600bd8f6a7610e24","entry":"forward_vit","repo":"cxx226/DPF","repo_kind":"official","path":"model/models.py","file_url":"https://github.com/cxx226/DPF/blob/HEAD/model/models.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":"600bd8f6a7610e24"}},{"code_sha256_prefix":"95e4de8d7758a36f","entry":"make_edsr_baseline","repo":"cxx226/DPF","repo_kind":"official","path":"model/models.py","file_url":"https://github.com/cxx226/DPF/blob/HEAD/model/models.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":"95e4de8d7758a36f"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}