{"about":{"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.","site":"https://codewithpapers.app","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","syntology":{"site":"https://syntology.ai","developers":"https://syntology.ai/developers","mcp":{"server":"https://syntology.ai/mcp","transport":"streamable-http","server_card":"https://syntology.ai/.well-known/mcp/server-card.json","auth":{"type":"trial token, no account","trial_token":"https://syntology.ai/api/oauth/trial/token","method":"POST","docs":"https://syntology.ai/developers"}},"have":"https://syntology.ai/api/graph/have?x=<method, arXiv id or title> (free, answers coverage only)","paper_base":"https://syntology.ai/paper/","atlas_base":"https://app.syntology.ai/?focus="},"machine_readable":[{"url":"https://codewithpapers.app/llms.txt","what":"the machine catalog: every machine-readable file, counted"},{"url":"https://codewithpapers.app/index/manifest.json","what":"paper-to-code index by arXiv id, with Syntology's counts"},{"url":"https://codewithpapers.app/search/manifest.json","what":"site search index (titles, authors) and its files"},{"url":"https://codewithpapers.app/download","what":"bulk files: Syntology's layer, described there"},{"url":"https://codewithpapers.app/build_manifest.json","what":"the build record: inputs, counts, exclusions, probes"}]},"url":"/paper/multi-level-metric-learning-for-few-shot","title":"Multi-level Metric Learning for Few-shot Image Recognition","arxiv_id":"2103.11383","date":"2021-03-21","proceeding":null,"authors":["Haoxing Chen","Huaxiong Li","Yaohui Li","Chunlin Chen"],"abstract":"Few-shot learning is devoted to training a model on few samples. Most of these approaches learn a model based on a pixel-level or global-level feature representation. However, using global features may lose local information, and using pixel-level features may lose the contextual semantics of the image. Moreover, such works can only measure the relations between them on a single level, which is not comprehensive and effective. And if query images can simultaneously be well classified via three distinct level similarity metrics, the query images within a class can be more tightly distributed in a smaller feature space, generating more discriminative feature maps. Motivated by this, we propose a novel Part-level Embedding Adaptation with Graph (PEAG) method to generate task-specific features. Moreover, a Multi-level Metric Learning (MML) method is proposed, which not only calculates the pixel-level similarity but also considers the similarity of part-level features and global-level features. Extensive experiments on popular few-shot image recognition datasets prove the effectiveness of our method compared with the state-of-the-art methods. Our code is available at \\url{https://github.com/chenhaoxing/M2L}.","url_abs":"https://arxiv.org/abs/2103.11383v4","url_pdf":"https://arxiv.org/pdf/2103.11383v4.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":[],"tasks":[{"task_slug":"few-shot-image-classification","task_name":"Few-Shot Image Classification"},{"task_slug":"few-shot-learning","task_name":"Few-Shot Learning"},{"task_slug":"metric-learning","task_name":"Metric Learning"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[{"leaderboard":"/sota/few-shot-image-classification-on-stanford-2","task":"Few-Shot Image Classification","dataset":"Stanford Cars 5-way (1-shot)","model":"MML(KL)","rank_in_archive_order":2,"of":6,"metrics":{"Accuracy":"72.43"},"uses_additional_data":false},{"leaderboard":"/sota/few-shot-image-classification-on-stanford-3","task":"Few-Shot Image Classification","dataset":"Stanford Cars 5-way (5-shot)","model":"MML(KL)","rank_in_archive_order":2,"of":6,"metrics":{"Accuracy":"91.05"},"uses_additional_data":false},{"leaderboard":"/sota/few-shot-image-classification-on-stanford","task":"Few-Shot Image Classification","dataset":"Stanford Dogs 5-way (1-shot)","model":"MML(KL)","rank_in_archive_order":1,"of":3,"metrics":{"Accuracy":"59.05"},"uses_additional_data":false},{"leaderboard":"/sota/few-shot-image-classification-on-stanford-1","task":"Few-Shot Image Classification","dataset":"Stanford Dogs 5-way (5-shot)","model":"MML(KL)","rank_in_archive_order":1,"of":6,"metrics":{"Accuracy":"75.59"},"uses_additional_data":false}],"syntology":{"syntology_url":null,"atlas_url":null,"mcp":null,"developers":"https://syntology.ai/developers","held":null,"reason":"arxiv_id_not_in_atlas","checked_against":{"atlas_ids":549449,"atlas_ids_sha256":"afd72399dafd9906e9062927f70655952385a3d75488558e1f0484e950ab09b7","read_at":"2026-10-05T01:46:21Z"},"by_repo":[],"by_repo_is":"one row per repository in the archive's code links, Syntology's graph links or the samples; samples 0 means no sample is linked to this paper, a statement about Syntology's coverage, not about the repository: with harvested_for_other_papers present, Syntology harvested the repository for that many other papers, and without it, Syntology harvested nothing from it; placed_by_identical_code counts samples whose link records no repository, placed here because identical code was harvested from this repository for another paper; ran counts executions on a synthesized input and instrument counts failures of Syntology's instrument, not of the code"},"code_links_note":"the archive holds no code link for this paper","arxiv_metadata":null,"syntology_extracted_results":null,"record_sha256":"f5d6587388daa13bc19c562c8b7701bae43ad43e2359b2e3db75e75ccb5d4ecb","record_changed_at":"2026-09-28","record_changed_at_basis":"first_hashed"}