{"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/more-flexible-pac-bayesian-meta-learning-by","title":"More Flexible PAC-Bayesian Meta-Learning by Learning Learning Algorithms","arxiv_id":"2402.04054","date":"2024-02-06","proceeding":null,"authors":["Hossein Zakerinia","Amin Behjati","Christoph H. Lampert"],"abstract":"We introduce a new framework for studying meta-learning methods using PAC-Bayesian theory. Its main advantage over previous work is that it allows for more flexibility in how the transfer of knowledge between tasks is realized. For previous approaches, this could only happen indirectly, by means of learning prior distributions over models. In contrast, the new generalization bounds that we prove express the process of meta-learning much more directly as learning the learning algorithm that should be used for future tasks. The flexibility of our framework makes it suitable to analyze a wide range of meta-learning mechanisms and even design new mechanisms. Other than our theoretical contributions we also show empirically that our framework improves the prediction quality in practical meta-learning mechanisms.","url_abs":"https://arxiv.org/abs/2402.04054v2","url_pdf":"https://arxiv.org/pdf/2402.04054v2.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":"more-flexible-pac-bayesian-meta-learning-by","repo_url":"https://github.com/hzakerinia/flexible-pac-bayes-meta-learning","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":0,"framework":"pytorch","reach":null}],"tasks":[{"task_slug":"generalization-bounds","task_name":"Generalization Bounds"},{"task_slug":"meta-learning","task_name":"Meta-Learning"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2402.04054","atlas_url":"https://app.syntology.ai/?focus=2402.04054","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2402.04054"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-25T09:33:49+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/hzakerinia/flexible-pac-bayes-meta-learning","reach":null}],"summary":{"ran_draft_wrong":5,"ran_honours":7,"unverified":2},"by_repo_kind":{"official":{"samples":14,"ran":12,"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":14,"samples":[{"code_sha256_prefix":"67139037acec0547","entry":"add_noise","repo":"hzakerinia/flexible-pac-bayes-meta-learning","repo_kind":"official","path":"PriorMetaLearning/Get_Objective_MPB.py","file_url":"https://github.com/hzakerinia/flexible-pac-bayes-meta-learning/blob/HEAD/PriorMetaLearning/Get_Objective_MPB.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"67139037acec0547"}},{"code_sha256_prefix":"baddf41be0a1c541","entry":"count_correct","repo":"hzakerinia/flexible-pac-bayes-meta-learning","repo_kind":"official","path":"PriorMetaLearning/Get_Objective_MPB.py","file_url":"https://github.com/hzakerinia/flexible-pac-bayes-meta-learning/blob/HEAD/PriorMetaLearning/Get_Objective_MPB.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"baddf41be0a1c541"}},{"code_sha256_prefix":"ff302ec78a781296","entry":"get_batch_vars","repo":"hzakerinia/flexible-pac-bayes-meta-learning","repo_kind":"official","path":"PriorMetaLearning/Get_Objective_MPB.py","file_url":"https://github.com/hzakerinia/flexible-pac-bayes-meta-learning/blob/HEAD/PriorMetaLearning/Get_Objective_MPB.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":"ff302ec78a781296"}},{"code_sha256_prefix":"7d64730b4a32749f","entry":"get_dvrg_element","repo":"hzakerinia/flexible-pac-bayes-meta-learning","repo_kind":"official","path":"PriorMetaLearning/Get_Objective_MPB.py","file_url":"https://github.com/hzakerinia/flexible-pac-bayes-meta-learning/blob/HEAD/PriorMetaLearning/Get_Objective_MPB.py","link_basis":"first_harvest_node","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"7d64730b4a32749f"}},{"code_sha256_prefix":"6620e401f9b3edd7","entry":"get_hyper_divergnce","repo":"hzakerinia/flexible-pac-bayes-meta-learning","repo_kind":"official","path":"PriorMetaLearning/Get_Objective_MPB.py","file_url":"https://github.com/hzakerinia/flexible-pac-bayes-meta-learning/blob/HEAD/PriorMetaLearning/Get_Objective_MPB.py","link_basis":"first_harvest_node","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"6620e401f9b3edd7"}},{"code_sha256_prefix":"388111410b49a443","entry":"get_meta_complexity_term","repo":"hzakerinia/flexible-pac-bayes-meta-learning","repo_kind":"official","path":"PriorMetaLearning/Get_Objective_MPB.py","file_url":"https://github.com/hzakerinia/flexible-pac-bayes-meta-learning/blob/HEAD/PriorMetaLearning/Get_Objective_MPB.py","link_basis":"first_harvest_node","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"388111410b49a443"}},{"code_sha256_prefix":"b37d98f9d2bacf62","entry":"get_net_densities_divergence","repo":"hzakerinia/flexible-pac-bayes-meta-learning","repo_kind":"official","path":"PriorMetaLearning/Get_Objective_MPB.py","file_url":"https://github.com/hzakerinia/flexible-pac-bayes-meta-learning/blob/HEAD/PriorMetaLearning/Get_Objective_MPB.py","link_basis":"first_harvest_node","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"b37d98f9d2bacf62"}},{"code_sha256_prefix":"1f497d49975e83bd","entry":"get_next_batch_cyclic","repo":"hzakerinia/flexible-pac-bayes-meta-learning","repo_kind":"official","path":"PriorMetaLearning/Get_Objective_MPB.py","file_url":"https://github.com/hzakerinia/flexible-pac-bayes-meta-learning/blob/HEAD/PriorMetaLearning/Get_Objective_MPB.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":"1f497d49975e83bd"}},{"code_sha256_prefix":"6e1e341585a9b2c5","entry":"get_param","repo":"hzakerinia/flexible-pac-bayes-meta-learning","repo_kind":"official","path":"PriorMetaLearning/Get_Objective_MPB.py","file_url":"https://github.com/hzakerinia/flexible-pac-bayes-meta-learning/blob/HEAD/PriorMetaLearning/Get_Objective_MPB.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":"6e1e341585a9b2c5"}},{"code_sha256_prefix":"8ec0f5bffddbde1a","entry":"get_prediction","repo":"hzakerinia/flexible-pac-bayes-meta-learning","repo_kind":"official","path":"PriorMetaLearning/Get_Objective_MPB.py","file_url":"https://github.com/hzakerinia/flexible-pac-bayes-meta-learning/blob/HEAD/PriorMetaLearning/Get_Objective_MPB.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"8ec0f5bffddbde1a"}},{"code_sha256_prefix":"d6e65a1259413d4f","entry":"get_task_complexity","repo":"hzakerinia/flexible-pac-bayes-meta-learning","repo_kind":"official","path":"PriorMetaLearning/Get_Objective_MPB.py","file_url":"https://github.com/hzakerinia/flexible-pac-bayes-meta-learning/blob/HEAD/PriorMetaLearning/Get_Objective_MPB.py","link_basis":"first_harvest_node","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"d6e65a1259413d4f"}},{"code_sha256_prefix":"da977c7d1e5172f8","entry":"net_weights_magnitude","repo":"hzakerinia/flexible-pac-bayes-meta-learning","repo_kind":"official","path":"PriorMetaLearning/Get_Objective_MPB.py","file_url":"https://github.com/hzakerinia/flexible-pac-bayes-meta-learning/blob/HEAD/PriorMetaLearning/Get_Objective_MPB.py","link_basis":"first_harvest_node","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"da977c7d1e5172f8"}},{"code_sha256_prefix":"1e4e8921e9f777a1","entry":"StochasticLayer","repo":"hzakerinia/flexible-pac-bayes-meta-learning","repo_kind":"official","path":"PriorMetaLearning/Get_Objective_MPB.py","file_url":"https://github.com/hzakerinia/flexible-pac-bayes-meta-learning/blob/HEAD/PriorMetaLearning/Get_Objective_MPB.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":"1e4e8921e9f777a1"}},{"code_sha256_prefix":"31c0faf747d1473d","entry":"get_objective","repo":"hzakerinia/flexible-pac-bayes-meta-learning","repo_kind":"official","path":"PriorMetaLearning/Get_Objective_MPB.py","file_url":"https://github.com/hzakerinia/flexible-pac-bayes-meta-learning/blob/HEAD/PriorMetaLearning/Get_Objective_MPB.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":"31c0faf747d1473d"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}