{"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/meta-learning-with-task-adaptive-loss-1","title":"Meta-Learning with Task-Adaptive Loss Function for Few-Shot Learning","arxiv_id":"2110.03909","date":"2021-10-08","proceeding":"ICCV 2021 10","authors":["Sungyong Baik","Janghoon Choi","Heewon Kim","Dohee Cho","Jaesik Min","Kyoung Mu Lee"],"abstract":"In few-shot learning scenarios, the challenge is to generalize and perform well on new unseen examples when only very few labeled examples are available for each task. Model-agnostic meta-learning (MAML) has gained the popularity as one of the representative few-shot learning methods for its flexibility and applicability to diverse problems. However, MAML and its variants often resort to a simple loss function without any auxiliary loss function or regularization terms that can help achieve better generalization. The problem lies in that each application and task may require different auxiliary loss function, especially when tasks are diverse and distinct. Instead of attempting to hand-design an auxiliary loss function for each application and task, we introduce a new meta-learning framework with a loss function that adapts to each task. Our proposed framework, named Meta-Learning with Task-Adaptive Loss Function (MeTAL), demonstrates the effectiveness and the flexibility across various domains, such as few-shot classification and few-shot regression.","url_abs":"https://arxiv.org/abs/2110.03909v2","url_pdf":"https://arxiv.org/pdf/2110.03909v2.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":"meta-learning-with-task-adaptive-loss-1","repo_url":"https://github.com/baiksung/MeTAL","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":null}],"tasks":[{"task_slug":"few-shot-learning","task_name":"Few-Shot Learning"},{"task_slug":"meta-learning","task_name":"Meta-Learning"}],"methods":[{"method_slug":"maml","method_name":"MAML"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2110.03909","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2110.03909"}},"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/baiksung/MeTAL","reach":null}],"summary":{"ran":3,"unverified":1},"by_repo_kind":{"official":{"samples":4,"ran":3,"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":4,"samples":[{"code_sha256_prefix":"10b7c51135088f6d","entry":"MetaLinearLayer","repo":"baiksung/MeTAL","repo_kind":"official","path":"meta_neural_network_architectures.py","file_url":"https://github.com/baiksung/MeTAL/blob/HEAD/meta_neural_network_architectures.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":"10b7c51135088f6d"}},{"code_sha256_prefix":"8a0a9351b96b98c2","entry":"MetaStepLossNetwork","repo":"baiksung/MeTAL","repo_kind":"official","path":"meta_neural_network_architectures.py","file_url":"https://github.com/baiksung/MeTAL/blob/HEAD/meta_neural_network_architectures.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":"8a0a9351b96b98c2"}},{"code_sha256_prefix":"e6cee89c00846aec","entry":"extract_top_level_dict","repo":"baiksung/MeTAL","repo_kind":"official","path":"meta_neural_network_architectures.py","file_url":"https://github.com/baiksung/MeTAL/blob/HEAD/meta_neural_network_architectures.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":"e6cee89c00846aec"}},{"code_sha256_prefix":"8ae51489f14254ba","entry":"MetaLossNetwork","repo":"baiksung/MeTAL","repo_kind":"official","path":"meta_neural_network_architectures.py","file_url":"https://github.com/baiksung/MeTAL/blob/HEAD/meta_neural_network_architectures.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":"8ae51489f14254ba"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}