{"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/learn-basic-skills-and-reuse-modularized","title":"Learn Basic Skills and Reuse: Modularized Adaptive Neural Architecture Search (MANAS)","arxiv_id":"2208.11083","date":"2022-08-23","proceeding":null,"authors":["Hanxiong Chen","Yunqi Li","He Zhu","Yongfeng Zhang"],"abstract":"Human intelligence is able to first learn some basic skills for solving basic problems and then assemble such basic skills into complex skills for solving complex or new problems. For example, the basic skills \"dig hole,\" \"put tree,\" \"backfill\" and \"watering\" compose a complex skill \"plant a tree\". Besides, some basic skills can be reused for solving other problems. For example, the basic skill \"dig hole\" not only can be used for planting a tree, but also can be used for mining treasures, building a drain, or landfilling. The ability to learn basic skills and reuse them for various tasks is very important for humans because it helps to avoid learning too many skills for solving each individual task, and makes it possible to solve a compositional number of tasks by learning just a few number of basic skills, which saves a considerable amount of memory and computation in the human brain. We believe that machine intelligence should also capture the ability of learning basic skills and reusing them by composing into complex skills. In computer science language, each basic skill is a \"module\", which is a reusable network of a concrete meaning and performs a specific basic operation. The modules are assembled into a bigger \"model\" for doing a more complex task. The assembling procedure is adaptive to the input or task, i.e., for a given task, the modules should be assembled into the best model for solving the task. As a result, different inputs or tasks could have different assembled models, which enables Auto-Assembling AI (AAAI). In this work, we propose Modularized Adaptive Neural Architecture Search (MANAS) to demonstrate the above idea. Experiments on different datasets show that the adaptive architecture assembled by MANAS outperforms static global architectures. Further experiments and empirical analysis provide insights to the effectiveness of MANAS.","url_abs":"https://arxiv.org/abs/2208.11083v2","url_pdf":"https://arxiv.org/pdf/2208.11083v2.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":"learn-basic-skills-and-reuse-modularized","repo_url":"https://github.com/taloncb/manas","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":0,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"architecture-search","task_name":"Neural Architecture Search"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2208.11083","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2208.11083"}},"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/taloncb/manas","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"unverified":6},"by_repo_kind":{"official":{"samples":6,"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":"24a4331892e8b155","entry":"batch_to_gpu","repo":"taloncb/manas","repo_kind":"official","path":"src/utils/tools.py","file_url":"https://github.com/taloncb/manas/blob/HEAD/src/utils/tools.py","link_basis":"harvester_set","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":"24a4331892e8b155"}},{"code_sha256_prefix":"aaa1a4eded561de0","entry":"mean_reciprocal_rank","repo":"taloncb/manas","repo_kind":"official","path":"src/utils/metrics.py","file_url":"https://github.com/taloncb/manas/blob/HEAD/src/utils/metrics.py","link_basis":"harvester_set","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":"aaa1a4eded561de0"}},{"code_sha256_prefix":"a26f317e90eca21e","entry":"numpy_to_torch","repo":"taloncb/manas","repo_kind":"official","path":"src/utils/tools.py","file_url":"https://github.com/taloncb/manas/blob/HEAD/src/utils/tools.py","link_basis":"harvester_set","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":"a26f317e90eca21e"}},{"code_sha256_prefix":"404922881288cec4","entry":"r_precision","repo":"taloncb/manas","repo_kind":"official","path":"src/utils/metrics.py","file_url":"https://github.com/taloncb/manas/blob/HEAD/src/utils/metrics.py","link_basis":"harvester_set","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":"404922881288cec4"}},{"code_sha256_prefix":"c55aaee5b05ba26b","entry":"reciprocal_rank","repo":"taloncb/manas","repo_kind":"official","path":"src/utils/metrics.py","file_url":"https://github.com/taloncb/manas/blob/HEAD/src/utils/metrics.py","link_basis":"harvester_set","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":"c55aaee5b05ba26b"}},{"code_sha256_prefix":"57c19c691dc01aa4","entry":"torch_to_gpu","repo":"taloncb/manas","repo_kind":"official","path":"src/utils/tools.py","file_url":"https://github.com/taloncb/manas/blob/HEAD/src/utils/tools.py","link_basis":"harvester_set","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":"57c19c691dc01aa4"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}