{"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/alias-free-convnets-fractional-shift","title":"Alias-Free Convnets: Fractional Shift Invariance via Polynomial Activations","arxiv_id":"2303.08085","date":"2023-03-14","proceeding":"CVPR 2023 1","authors":["Hagay Michaeli","Tomer Michaeli","Daniel Soudry"],"abstract":"Although CNNs are believed to be invariant to translations, recent works have shown this is not the case, due to aliasing effects that stem from downsampling layers. The existing architectural solutions to prevent aliasing are partial since they do not solve these effects, that originate in non-linearities. We propose an extended anti-aliasing method that tackles both downsampling and non-linear layers, thus creating truly alias-free, shift-invariant CNNs. We show that the presented model is invariant to integer as well as fractional (i.e., sub-pixel) translations, thus outperforming other shift-invariant methods in terms of robustness to adversarial translations.","url_abs":"https://arxiv.org/abs/2303.08085v2","url_pdf":"https://arxiv.org/pdf/2303.08085v2.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":"alias-free-convnets-fractional-shift","repo_url":"https://github.com/hmichaeli/alias_free_convnets","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":null}],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2303.08085","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2303.08085"}},"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/hmichaeli/alias_free_convnets","reach":null},{"provenance":"deterministic:regex_extraction","url":"https://github.com/hmichaeli/alias","reach":{"status":"gone","observed_at":"2026-09-17","how":"tree_404+repo_404"}}],"summary":{"ran":9,"ran_draft_wrong":6,"ran_honours":2,"ran_fixture":1,"unverified":9},"by_repo_kind":{"official":{"samples":27,"ran":18,"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":27,"samples":[{"code_sha256_prefix":"5b73484f18f99b44","entry":"Filter","repo":"hmichaeli/alias_free_convnets","repo_kind":"official","path":"models/convnext_afc.py","file_url":"https://github.com/hmichaeli/alias_free_convnets/blob/HEAD/models/convnext_afc.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"5b73484f18f99b44"}},{"code_sha256_prefix":"3c703464bdfa351a","entry":"LPFPolyActPerChannel","repo":"hmichaeli/alias_free_convnets","repo_kind":"official","path":"models/convnext_afc.py","file_url":"https://github.com/hmichaeli/alias_free_convnets/blob/HEAD/models/convnext_afc.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":"3c703464bdfa351a"}},{"code_sha256_prefix":"24ccb431a72c048a","entry":"LPF_RECON_RFFT","repo":"hmichaeli/alias_free_convnets","repo_kind":"official","path":"models/convnext_afc.py","file_url":"https://github.com/hmichaeli/alias_free_convnets/blob/HEAD/models/convnext_afc.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":"24ccb431a72c048a"}},{"code_sha256_prefix":"d818f9ab61a2968a","entry":"LayerNorm","repo":"hmichaeli/alias_free_convnets","repo_kind":"official","path":"models/convnext_afc.py","file_url":"https://github.com/hmichaeli/alias_free_convnets/blob/HEAD/models/convnext_afc.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":"d818f9ab61a2968a"}},{"code_sha256_prefix":"d48bf69372a83c41","entry":"LayerNorm_AF","repo":"hmichaeli/alias_free_convnets","repo_kind":"official","path":"models/convnext_afc.py","file_url":"https://github.com/hmichaeli/alias_free_convnets/blob/HEAD/models/convnext_afc.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":"d48bf69372a83c41"}},{"code_sha256_prefix":"c3c59332b2098444","entry":"LayerNorm_C","repo":"hmichaeli/alias_free_convnets","repo_kind":"official","path":"models/convnext_afc.py","file_url":"https://github.com/hmichaeli/alias_free_convnets/blob/HEAD/models/convnext_afc.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"c3c59332b2098444"}},{"code_sha256_prefix":"1ce86ab6920a66aa","entry":"PolyAct","repo":"hmichaeli/alias_free_convnets","repo_kind":"official","path":"models/convnext_afc.py","file_url":"https://github.com/hmichaeli/alias_free_convnets/blob/HEAD/models/convnext_afc.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"1ce86ab6920a66aa"}},{"code_sha256_prefix":"7435ce53fce5eac0","entry":"PolyActPerChannel","repo":"hmichaeli/alias_free_convnets","repo_kind":"official","path":"models/convnext_afc.py","file_url":"https://github.com/hmichaeli/alias_free_convnets/blob/HEAD/models/convnext_afc.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"7435ce53fce5eac0"}},{"code_sha256_prefix":"b6b68b920844ef01","entry":"UpsampleRFFT","repo":"hmichaeli/alias_free_convnets","repo_kind":"official","path":"models/convnext_afc.py","file_url":"https://github.com/hmichaeli/alias_free_convnets/blob/HEAD/models/convnext_afc.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":"b6b68b920844ef01"}},{"code_sha256_prefix":"489aaa429596294f","entry":"circular_pad","repo":"hmichaeli/alias_free_convnets","repo_kind":"official","path":"models/convnext_afc.py","file_url":"https://github.com/hmichaeli/alias_free_convnets/blob/HEAD/models/convnext_afc.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"489aaa429596294f"}},{"code_sha256_prefix":"f26671f59ef75381","entry":"conv2x2","repo":"hmichaeli/alias_free_convnets","repo_kind":"official","path":"models/convnext_afc.py","file_url":"https://github.com/hmichaeli/alias_free_convnets/blob/HEAD/models/convnext_afc.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":"f26671f59ef75381"}},{"code_sha256_prefix":"367ddf61c744f06a","entry":"conv4x4","repo":"hmichaeli/alias_free_convnets","repo_kind":"official","path":"models/convnext_afc.py","file_url":"https://github.com/hmichaeli/alias_free_convnets/blob/HEAD/models/convnext_afc.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":"367ddf61c744f06a"}},{"code_sha256_prefix":"6378a31d003903eb","entry":"conv7x7","repo":"hmichaeli/alias_free_convnets","repo_kind":"official","path":"models/convnext_afc.py","file_url":"https://github.com/hmichaeli/alias_free_convnets/blob/HEAD/models/convnext_afc.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":"6378a31d003903eb"}},{"code_sha256_prefix":"e74c53ae486e7dbe","entry":"create_fixed_lpf_rect","repo":"hmichaeli/alias_free_convnets","repo_kind":"official","path":"models/convnext_afc.py","file_url":"https://github.com/hmichaeli/alias_free_convnets/blob/HEAD/models/convnext_afc.py","link_basis":"first_harvest_node","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"e74c53ae486e7dbe"}},{"code_sha256_prefix":"0af016ff4b338555","entry":"create_lpf_rect","repo":"hmichaeli/alias_free_convnets","repo_kind":"official","path":"models/convnext_afc.py","file_url":"https://github.com/hmichaeli/alias_free_convnets/blob/HEAD/models/convnext_afc.py","link_basis":"first_harvest_node","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"0af016ff4b338555"}},{"code_sha256_prefix":"84c80beecf2f1507","entry":"get_norm_layer","repo":"hmichaeli/alias_free_convnets","repo_kind":"official","path":"models/convnext_afc.py","file_url":"https://github.com/hmichaeli/alias_free_convnets/blob/HEAD/models/convnext_afc.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":"84c80beecf2f1507"}},{"code_sha256_prefix":"95c3ec7344a80d78","entry":"get_pad_layer","repo":"hmichaeli/alias_free_convnets","repo_kind":"official","path":"models/convnext_afc.py","file_url":"https://github.com/hmichaeli/alias_free_convnets/blob/HEAD/models/convnext_afc.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":"95c3ec7344a80d78"}},{"code_sha256_prefix":"d65a25667eea645f","entry":"pad_layer","repo":"hmichaeli/alias_free_convnets","repo_kind":"official","path":"models/convnext_afc.py","file_url":"https://github.com/hmichaeli/alias_free_convnets/blob/HEAD/models/convnext_afc.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":"d65a25667eea645f"}},{"code_sha256_prefix":"0ce72698b7fb0adb","entry":"AALMLP","repo":"hmichaeli/alias_free_convnets","repo_kind":"official","path":"models/convnext_afc.py","file_url":"https://github.com/hmichaeli/alias_free_convnets/blob/HEAD/models/convnext_afc.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":"0ce72698b7fb0adb"}},{"code_sha256_prefix":"02099da423590637","entry":"Block","repo":"hmichaeli/alias_free_convnets","repo_kind":"official","path":"models/convnext_afc.py","file_url":"https://github.com/hmichaeli/alias_free_convnets/blob/HEAD/models/convnext_afc.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":"02099da423590637"}},{"code_sha256_prefix":"95b5fee726c0126a","entry":"BlurPool","repo":"hmichaeli/alias_free_convnets","repo_kind":"official","path":"models/convnext_afc.py","file_url":"https://github.com/hmichaeli/alias_free_convnets/blob/HEAD/models/convnext_afc.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":"95b5fee726c0126a"}},{"code_sha256_prefix":"f70f888b93a8496b","entry":"ConvNeXtAFC","repo":"hmichaeli/alias_free_convnets","repo_kind":"official","path":"models/convnext_afc.py","file_url":"https://github.com/hmichaeli/alias_free_convnets/blob/HEAD/models/convnext_afc.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":"f70f888b93a8496b"}},{"code_sha256_prefix":"1611d72305138d55","entry":"MLP","repo":"hmichaeli/alias_free_convnets","repo_kind":"official","path":"models/convnext_afc.py","file_url":"https://github.com/hmichaeli/alias_free_convnets/blob/HEAD/models/convnext_afc.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":"1611d72305138d55"}},{"code_sha256_prefix":"6ba599fd0d2e6b0d","entry":"Residual","repo":"hmichaeli/alias_free_convnets","repo_kind":"official","path":"models/convnext_afc.py","file_url":"https://github.com/hmichaeli/alias_free_convnets/blob/HEAD/models/convnext_afc.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":"6ba599fd0d2e6b0d"}},{"code_sha256_prefix":"9177ccd544f90dae","entry":"UpPolyAct","repo":"hmichaeli/alias_free_convnets","repo_kind":"official","path":"models/convnext_afc.py","file_url":"https://github.com/hmichaeli/alias_free_convnets/blob/HEAD/models/convnext_afc.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":"9177ccd544f90dae"}},{"code_sha256_prefix":"27916faaf81b64db","entry":"UpPolyActPerChannel","repo":"hmichaeli/alias_free_convnets","repo_kind":"official","path":"models/convnext_afc.py","file_url":"https://github.com/hmichaeli/alias_free_convnets/blob/HEAD/models/convnext_afc.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":"27916faaf81b64db"}},{"code_sha256_prefix":"9df8d935d61014da","entry":"get_activation","repo":"hmichaeli/alias_free_convnets","repo_kind":"official","path":"models/convnext_afc.py","file_url":"https://github.com/hmichaeli/alias_free_convnets/blob/HEAD/models/convnext_afc.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":"9df8d935d61014da"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}