{"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/probabilistic-pixel-adaptive-refinement","title":"Probabilistic Pixel-Adaptive Refinement Networks","arxiv_id":"2003.14407","date":"2020-03-31","proceeding":"CVPR 2020 6","authors":["Anne S. Wannenwetsch","Stefan Roth"],"abstract":"Encoder-decoder networks have found widespread use in various dense prediction tasks. However, the strong reduction of spatial resolution in the encoder leads to a loss of location information as well as boundary artifacts. To address this, image-adaptive post-processing methods have shown beneficial by leveraging the high-resolution input image(s) as guidance data. We extend such approaches by considering an important orthogonal source of information: the network's confidence in its own predictions. We introduce probabilistic pixel-adaptive convolutions (PPACs), which not only depend on image guidance data for filtering, but also respect the reliability of per-pixel predictions. As such, PPACs allow for image-adaptive smoothing and simultaneously propagating pixels of high confidence into less reliable regions, while respecting object boundaries. We demonstrate their utility in refinement networks for optical flow and semantic segmentation, where PPACs lead to a clear reduction in boundary artifacts. Moreover, our proposed refinement step is able to substantially improve the accuracy on various widely used benchmarks.","url_abs":"https://arxiv.org/abs/2003.14407v1","url_pdf":"https://arxiv.org/pdf/2003.14407v1.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":"probabilistic-pixel-adaptive-refinement","repo_url":"https://github.com/visinf/ppac_refinement","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":0,"framework":"pytorch","reach":{"status":"ok","spdx":"Apache-2.0"}}],"tasks":[{"task_slug":"decoder","task_name":"Decoder"},{"task_slug":"optical-flow-estimation","task_name":"Optical Flow Estimation"},{"task_slug":"semantic-segmentation","task_name":"Semantic Segmentation"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2003.14407","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2003.14407"}},"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/visinf/ppac_refinement","reach":{"status":"ok","spdx":"Apache-2.0"}}],"summary":{"unverified":12},"by_repo_kind":{"official":{"samples":12,"ran":0,"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":"5cd2318246e4da97","entry":"endpoint_error","repo":"visinf/ppac_refinement","repo_kind":"official","path":"src/losses.py","file_url":"https://github.com/visinf/ppac_refinement/blob/HEAD/src/losses.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"5cd2318246e4da97"}},{"code_sha256_prefix":"57ad6170ea367d6e","entry":"gaussian_kernel","repo":"visinf/ppac_refinement","repo_kind":"official","path":"src/models_refine/refinement_networks.py","file_url":"https://github.com/visinf/ppac_refinement/blob/HEAD/src/models_refine/refinement_networks.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"57ad6170ea367d6e"}},{"code_sha256_prefix":"3df4c7302a9ca323","entry":"get_crop_shape","repo":"visinf/ppac_refinement","repo_kind":"official","path":"bin/train_flow_refined.py","file_url":"https://github.com/visinf/ppac_refinement/blob/HEAD/bin/train_flow_refined.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"3df4c7302a9ca323"}},{"code_sha256_prefix":"0947ceb30432c13c","entry":"get_crop_shape","repo":"visinf/ppac_refinement","repo_kind":"official","path":"bin/train_segmentation_refined.py","file_url":"https://github.com/visinf/ppac_refinement/blob/HEAD/bin/train_segmentation_refined.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"0947ceb30432c13c"}},{"code_sha256_prefix":"664ac386fd185d3a","entry":"get_target_size","repo":"visinf/ppac_refinement","repo_kind":"official","path":"bin/inference_hd3_refined.py","file_url":"https://github.com/visinf/ppac_refinement/blob/HEAD/bin/inference_hd3_refined.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"664ac386fd185d3a"}},{"code_sha256_prefix":"9504ca883baa7b67","entry":"get_upsampled_probabilities_hd3","repo":"visinf/ppac_refinement","repo_kind":"official","path":"src/prob_utils.py","file_url":"https://github.com/visinf/ppac_refinement/blob/HEAD/src/prob_utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"9504ca883baa7b67"}},{"code_sha256_prefix":"ef3b57e9170bad6d","entry":"interpolate_probabilities","repo":"visinf/ppac_refinement","repo_kind":"official","path":"src/prob_utils.py","file_url":"https://github.com/visinf/ppac_refinement/blob/HEAD/src/prob_utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"ef3b57e9170bad6d"}},{"code_sha256_prefix":"b221b31cf1101ed6","entry":"load_image","repo":"visinf/ppac_refinement","repo_kind":"official","path":"src/datasets/data_utils.py","file_url":"https://github.com/visinf/ppac_refinement/blob/HEAD/src/datasets/data_utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"b221b31cf1101ed6"}},{"code_sha256_prefix":"70b6a212163abbef","entry":"load_segmentation","repo":"visinf/ppac_refinement","repo_kind":"official","path":"src/datasets/data_utils.py","file_url":"https://github.com/visinf/ppac_refinement/blob/HEAD/src/datasets/data_utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"70b6a212163abbef"}},{"code_sha256_prefix":"9b96d663480e8751","entry":"outlier_rate","repo":"visinf/ppac_refinement","repo_kind":"official","path":"src/losses.py","file_url":"https://github.com/visinf/ppac_refinement/blob/HEAD/src/losses.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"9b96d663480e8751"}},{"code_sha256_prefix":"5253dccd7ec976ff","entry":"read_data_list","repo":"visinf/ppac_refinement","repo_kind":"official","path":"src/datasets/data_utils.py","file_url":"https://github.com/visinf/ppac_refinement/blob/HEAD/src/datasets/data_utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"5253dccd7ec976ff"}},{"code_sha256_prefix":"fc56993bcc5b3f8f","entry":"safe_log","repo":"visinf/ppac_refinement","repo_kind":"official","path":"src/prob_utils.py","file_url":"https://github.com/visinf/ppac_refinement/blob/HEAD/src/prob_utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"fc56993bcc5b3f8f"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}