{"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/rethinking-neural-operations-for-diverse","title":"Rethinking Neural Operations for Diverse Tasks","arxiv_id":"2103.15798","date":"2021-03-29","proceeding":"NeurIPS 2021 12","authors":["Nicholas Roberts","Mikhail Khodak","Tri Dao","Liam Li","Christopher Ré","Ameet Talwalkar"],"abstract":"An important goal of AutoML is to automate-away the design of neural networks on new tasks in under-explored domains. Motivated by this goal, we study the problem of enabling users to discover the right neural operations given data from their specific domain. We introduce a search space of operations called XD-Operations that mimic the inductive bias of standard multi-channel convolutions while being much more expressive: we prove that it includes many named operations across multiple application areas. Starting with any standard backbone such as ResNet, we show how to transform it into a search space over XD-operations and how to traverse the space using a simple weight-sharing scheme. On a diverse set of tasks -- solving PDEs, distance prediction for protein folding, and music modeling -- our approach consistently yields models with lower error than baseline networks and often even lower error than expert-designed domain-specific approaches.","url_abs":"https://arxiv.org/abs/2103.15798v2","url_pdf":"https://arxiv.org/pdf/2103.15798v2.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":"rethinking-neural-operations-for-diverse","repo_url":"https://github.com/mkhodak/relax","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":null},{"paper_slug":"rethinking-neural-operations-for-diverse","repo_url":"https://github.com/nick11roberts/XD","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"Apache-2.0"}},{"paper_slug":"rethinking-neural-operations-for-diverse","repo_url":"https://github.com/sjunhongshen/dash","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok"}}],"tasks":[{"task_slug":"automl","task_name":"AutoML"},{"task_slug":"image-classification","task_name":"Image Classification"},{"task_slug":"inductive-bias","task_name":"Inductive Bias"},{"task_slug":"music-modeling","task_name":"Music Modeling"},{"task_slug":"architecture-search","task_name":"Neural Architecture Search"},{"task_slug":"protein-folding","task_name":"Protein Folding"}],"methods":[{"method_slug":"1x1-convolution","method_name":"1x1 Convolution"},{"method_slug":"average-pooling","method_name":"Average Pooling"},{"method_slug":"batch-normalization","method_name":"Batch Normalization"},{"method_slug":"bottleneck-residual-block","method_name":"Bottleneck Residual Block"},{"method_slug":"convolution","method_name":"Convolution"},{"method_slug":"global-average-pooling","method_name":"Global Average Pooling"},{"method_slug":"kaiming-initialization","method_name":"Kaiming Initialization"},{"method_slug":"max-pooling","method_name":"Max Pooling"},{"method_slug":"relu","method_name":"ReLU"},{"method_slug":"residual-block","method_name":"Residual Block"},{"method_slug":"residual-connection","method_name":"Residual Connection"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2103.15798","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2103.15798"}},"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/nick11roberts/XD","reach":{"status":"ok","spdx":"Apache-2.0"}},{"provenance":"deterministic:regex_extraction","url":"https://github.com/mkhodak/relax","reach":null},{"provenance":"deterministic:regex_extraction","url":"https://github.com/liamcli/gaea_release","reach":null},{"provenance":"deterministic:regex_extraction","url":"https://github.com/ba-lab/pdnet","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/sjunhongshen/dash","reach":{"status":"ok"}}],"summary":{"ran_draft_wrong":4,"ran":10,"ran_honours":3,"ran_fixture":1,"unverified":16},"by_repo_kind":{"official":{"samples":33,"ran":18,"repositories":2},"found_in_text":{"samples":1,"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":"2a31a6dcb06ddf63","entry":"AvgPool","repo":"mkhodak/relax","repo_kind":"official","path":"relax/xd.py","file_url":"https://github.com/mkhodak/relax/blob/HEAD/relax/xd.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":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"2a31a6dcb06ddf63"}},{"code_sha256_prefix":"bec5cac219d82ded","entry":"Complex2Real","repo":"mkhodak/relax","repo_kind":"official","path":"relax/xd.py","file_url":"https://github.com/mkhodak/relax/blob/HEAD/relax/xd.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"well_formed","behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"bec5cac219d82ded"}},{"code_sha256_prefix":"ba89e07cd33d1453","entry":"ConvPerm","repo":"mkhodak/relax","repo_kind":"official","path":"relax/xd.py","file_url":"https://github.com/mkhodak/relax/blob/HEAD/relax/xd.py","link_basis":"first_harvest_node","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":"ba89e07cd33d1453"}},{"code_sha256_prefix":"746f20753fb4022f","entry":"FNOPerm","repo":"mkhodak/relax","repo_kind":"official","path":"relax/xd.py","file_url":"https://github.com/mkhodak/relax/blob/HEAD/relax/xd.py","link_basis":"first_harvest_node","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":"746f20753fb4022f"}},{"code_sha256_prefix":"4b400ff00a487d94","entry":"Fourier","repo":"mkhodak/relax","repo_kind":"official","path":"relax/xd.py","file_url":"https://github.com/mkhodak/relax/blob/HEAD/relax/xd.py","link_basis":"first_harvest_node","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":"4b400ff00a487d94"}},{"code_sha256_prefix":"1dde65deadfc1f2d","entry":"Pad","repo":"mkhodak/relax","repo_kind":"official","path":"relax/xd.py","file_url":"https://github.com/mkhodak/relax/blob/HEAD/relax/xd.py","link_basis":"first_harvest_node","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":"1dde65deadfc1f2d"}},{"code_sha256_prefix":"7113106c9caa90dc","entry":"TransposeFlip","repo":"mkhodak/relax","repo_kind":"official","path":"relax/xd.py","file_url":"https://github.com/mkhodak/relax/blob/HEAD/relax/xd.py","link_basis":"first_harvest_node","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":"7113106c9caa90dc"}},{"code_sha256_prefix":"63dc4a7a7bfdd3ba","entry":"TransposePad","repo":"mkhodak/relax","repo_kind":"official","path":"relax/xd.py","file_url":"https://github.com/mkhodak/relax/blob/HEAD/relax/xd.py","link_basis":"first_harvest_node","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":"63dc4a7a7bfdd3ba"}},{"code_sha256_prefix":"6817170fe598f430","entry":"TransposePerm","repo":"mkhodak/relax","repo_kind":"official","path":"relax/xd.py","file_url":"https://github.com/mkhodak/relax/blob/HEAD/relax/xd.py","link_basis":"first_harvest_node","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":"6817170fe598f430"}},{"code_sha256_prefix":"df99f62038dc6b95","entry":"TruncateHermitian","repo":"mkhodak/relax","repo_kind":"official","path":"relax/xd.py","file_url":"https://github.com/mkhodak/relax/blob/HEAD/relax/xd.py","link_basis":"first_harvest_node","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":"df99f62038dc6b95"}},{"code_sha256_prefix":"83fd4dada951a4ce","entry":"Unpad","repo":"mkhodak/relax","repo_kind":"official","path":"relax/xd.py","file_url":"https://github.com/mkhodak/relax/blob/HEAD/relax/xd.py","link_basis":"first_harvest_node","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":"83fd4dada951a4ce"}},{"code_sha256_prefix":"8597cc597b0fd17f","entry":"atrous_permutation","repo":"mkhodak/relax","repo_kind":"official","path":"relax/xd.py","file_url":"https://github.com/mkhodak/relax/blob/HEAD/relax/xd.py","link_basis":"first_harvest_node","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":"well_formed","behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"8597cc597b0fd17f"}},{"code_sha256_prefix":"9ec5d46f798ca92d","entry":"complex_dist","repo":"nick11roberts/xd","repo_kind":"official","path":"chrysalis/xd.py","file_url":"https://github.com/nick11roberts/xd/blob/HEAD/chrysalis/xd.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"well_formed","behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"9ec5d46f798ca92d"}},{"code_sha256_prefix":"f99717b5f5887edd","entry":"complex_norm","repo":"nick11roberts/xd","repo_kind":"official","path":"chrysalis/xd.py","file_url":"https://github.com/nick11roberts/xd/blob/HEAD/chrysalis/xd.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"well_formed","behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"f99717b5f5887edd"}},{"code_sha256_prefix":"b65e5411454bdb5b","entry":"int2tuple","repo":"mkhodak/relax","repo_kind":"official","path":"relax/xd.py","file_url":"https://github.com/mkhodak/relax/blob/HEAD/relax/xd.py","link_basis":"first_harvest_node","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"b65e5411454bdb5b"}},{"code_sha256_prefix":"cc788ee6ee06b4df","entry":"special_dist","repo":"nick11roberts/xd","repo_kind":"official","path":"chrysalis/xd.py","file_url":"https://github.com/nick11roberts/xd/blob/HEAD/chrysalis/xd.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":"cc788ee6ee06b4df"}},{"code_sha256_prefix":"c4904be3964ec72b","entry":"transpose_permutation","repo":"mkhodak/relax","repo_kind":"official","path":"relax/xd.py","file_url":"https://github.com/mkhodak/relax/blob/HEAD/relax/xd.py","link_basis":"first_harvest_node","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":"well_formed","behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"c4904be3964ec72b"}},{"code_sha256_prefix":"7378c3d22e68d903","entry":"truncate_freq","repo":"mkhodak/relax","repo_kind":"official","path":"relax/xd.py","file_url":"https://github.com/mkhodak/relax/blob/HEAD/relax/xd.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":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"7378c3d22e68d903"}},{"code_sha256_prefix":"1ff4c96878cdae81","entry":"MaxPool","repo":"nick11roberts/XD","repo_kind":"official","path":"chrysalis/darts.py","file_url":"https://github.com/nick11roberts/XD/blob/HEAD/chrysalis/darts.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":"1ff4c96878cdae81"}},{"code_sha256_prefix":"94357aa818c939d9","entry":"SharedOperation","repo":"mkhodak/relax","repo_kind":"official","path":"relax/xd.py","file_url":"https://github.com/mkhodak/relax/blob/HEAD/relax/xd.py","link_basis":"first_harvest_node","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":"94357aa818c939d9"}},{"code_sha256_prefix":"da15dcc8176fc0a6","entry":"TensorProduct","repo":"mkhodak/relax","repo_kind":"official","path":"relax/xd.py","file_url":"https://github.com/mkhodak/relax/blob/HEAD/relax/xd.py","link_basis":"first_harvest_node","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":"da15dcc8176fc0a6"}},{"code_sha256_prefix":"0a723f7b3a1f7560","entry":"XD","repo":"mkhodak/relax","repo_kind":"official","path":"relax/xd.py","file_url":"https://github.com/mkhodak/relax/blob/HEAD/relax/xd.py","link_basis":"first_harvest_node","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":"0a723f7b3a1f7560"}},{"code_sha256_prefix":"e93d9ddbfeb73ced","entry":"accuracy","repo":"nick11roberts/XD","repo_kind":"official","path":"DARTS/utils.py","file_url":"https://github.com/nick11roberts/XD/blob/HEAD/DARTS/utils.py","link_basis":"harvester_set","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":"e93d9ddbfeb73ced"}},{"code_sha256_prefix":"68a0988ac016a394","entry":"basic_fcn","repo":"ba-lab/pdnet","repo_kind":"found_in_text","path":"models.py","file_url":"https://github.com/ba-lab/pdnet/blob/HEAD/models.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":"68a0988ac016a394"}},{"code_sha256_prefix":"2480ed0be135e57a","entry":"check_weight_norm","repo":"nick11roberts/XD","repo_kind":"official","path":"chrysalis/chrysalis.py","file_url":"https://github.com/nick11roberts/XD/blob/HEAD/chrysalis/chrysalis.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":"2480ed0be135e57a"}},{"code_sha256_prefix":"3e816289579cc9e9","entry":"count_parameters_in_MB","repo":"nick11roberts/XD","repo_kind":"official","path":"DARTS/utils.py","file_url":"https://github.com/nick11roberts/XD/blob/HEAD/DARTS/utils.py","link_basis":"plan_row","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":"3e816289579cc9e9"}},{"code_sha256_prefix":"13c2719404e25b25","entry":"drop_path","repo":"nick11roberts/XD","repo_kind":"official","path":"DARTS/utils.py","file_url":"https://github.com/nick11roberts/XD/blob/HEAD/DARTS/utils.py","link_basis":"plan_row","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":"13c2719404e25b25"}},{"code_sha256_prefix":"50254999b8752976","entry":"fixed","repo":"mkhodak/relax","repo_kind":"official","path":"relax/xd.py","file_url":"https://github.com/mkhodak/relax/blob/HEAD/relax/xd.py","link_basis":"first_harvest_node","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":"50254999b8752976"}},{"code_sha256_prefix":"e151df3b5424a3fb","entry":"get_module","repo":"nick11roberts/XD","repo_kind":"official","path":"chrysalis/chrysalis.py","file_url":"https://github.com/nick11roberts/XD/blob/HEAD/chrysalis/chrysalis.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":"e151df3b5424a3fb"}},{"code_sha256_prefix":"50200b49d8c95110","entry":"multichannel_prod","repo":"mkhodak/relax","repo_kind":"official","path":"relax/xd.py","file_url":"https://github.com/mkhodak/relax/blob/HEAD/relax/xd.py","link_basis":"first_harvest_node","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":"50200b49d8c95110"}},{"code_sha256_prefix":"bc0b1e3f81223bd5","entry":"pad2size","repo":"mkhodak/relax","repo_kind":"official","path":"relax/xd.py","file_url":"https://github.com/mkhodak/relax/blob/HEAD/relax/xd.py","link_basis":"first_harvest_node","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":"bc0b1e3f81223bd5"}},{"code_sha256_prefix":"b3920efd145667ac","entry":"resnet20","repo":"mkhodak/relax","repo_kind":"official","path":"examples/resnet/resnet.py","file_url":"https://github.com/mkhodak/relax/blob/HEAD/examples/resnet/resnet.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"b3920efd145667ac"}},{"code_sha256_prefix":"ccbabd3d954fa0a8","entry":"resnet32","repo":"mkhodak/relax","repo_kind":"official","path":"examples/resnet/resnet.py","file_url":"https://github.com/mkhodak/relax/blob/HEAD/examples/resnet/resnet.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"ccbabd3d954fa0a8"}},{"code_sha256_prefix":"595fe4a7995fd021","entry":"resnet44","repo":"mkhodak/relax","repo_kind":"official","path":"examples/resnet/resnet.py","file_url":"https://github.com/mkhodak/relax/blob/HEAD/examples/resnet/resnet.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"595fe4a7995fd021"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}