{"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/learning-fine-grained-image-similarity-with","title":"Learning Fine-grained Image Similarity with Deep Ranking","arxiv_id":"1404.4661","date":"2014-04-17","proceeding":"CVPR 2014 6","authors":["Jiang Wang","Yang song","Thomas Leung","Chuck Rosenberg","Jinbin Wang","James Philbin","Bo Chen","Ying Wu"],"abstract":"Learning fine-grained image similarity is a challenging task. It needs to\ncapture between-class and within-class image differences. This paper proposes a\ndeep ranking model that employs deep learning techniques to learn similarity\nmetric directly from images.It has higher learning capability than models based\non hand-crafted features. A novel multiscale network structure has been\ndeveloped to describe the images effectively. An efficient triplet sampling\nalgorithm is proposed to learn the model with distributed asynchronized\nstochastic gradient. Extensive experiments show that the proposed algorithm\noutperforms models based on hand-crafted visual features and deep\nclassification models.","url_abs":"http://arxiv.org/abs/1404.4661v1","url_pdf":"http://arxiv.org/pdf/1404.4661v1.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":"learning-fine-grained-image-similarity-with","repo_url":"https://github.com/Ducvoccer/mildnet","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"ok","spdx":"Apache-2.0"}},{"paper_slug":"learning-fine-grained-image-similarity-with","repo_url":"https://github.com/Zhenye-Na/image-similarity-using-deep-ranking","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok"}},{"paper_slug":"learning-fine-grained-image-similarity-with","repo_url":"https://github.com/gofynd/mildnet","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"ok","spdx":"Apache-2.0"}},{"paper_slug":"learning-fine-grained-image-similarity-with","repo_url":"https://github.com/lixali/Image_IP_protection","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"none","reach":{"status":"ok"}},{"paper_slug":"learning-fine-grained-image-similarity-with","repo_url":"https://github.com/muraliadithya/vdp","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"unanswered"}},{"paper_slug":"learning-fine-grained-image-similarity-with","repo_url":"https://github.com/ArkinDharawat/DeepImageRanking","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":0,"framework":"pytorch","reach":{"status":"ok"}}],"tasks":[{"task_slug":"classification","task_name":"General Classification"},{"task_slug":null,"task_name":"Triplet"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=1404.4661","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"1404.4661"}},"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/lixali/Image_IP_protection","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/Zhenye-Na/image-similarity-using-deep-ranking","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/muraliadithya/vdp","reach":{"status":"unanswered"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/gofynd/mildnet","reach":{"status":"ok","spdx":"Apache-2.0"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/Ducvoccer/mildnet","reach":{"status":"ok","spdx":"Apache-2.0"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/ArkinDharawat/DeepImageRanking","reach":{"status":"ok"}}],"summary":{"unverified":10},"by_repo_kind":{"listed":{"samples":10,"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":"933a8d4076b7053d","entry":"accuracy_fn","repo":"Ducvoccer/mildnet","repo_kind":"listed","path":"trainer/accuracy.py","file_url":"https://github.com/Ducvoccer/mildnet/blob/HEAD/trainer/accuracy.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":"933a8d4076b7053d"}},{"code_sha256_prefix":"935e055e7cfb64f7","entry":"bold_text","repo":"Ducvoccer/mildnet","repo_kind":"listed","path":"execute.py","file_url":"https://github.com/Ducvoccer/mildnet/blob/HEAD/execute.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":"935e055e7cfb64f7"}},{"code_sha256_prefix":"7f9ed8bff2dec4b4","entry":"get_layers_output_by_name","repo":"Ducvoccer/mildnet","repo_kind":"listed","path":"trainer/utils.py","file_url":"https://github.com/Ducvoccer/mildnet/blob/HEAD/trainer/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":"7f9ed8bff2dec4b4"}},{"code_sha256_prefix":"7cd865a3008326b6","entry":"hinge_loss_fn","repo":"Ducvoccer/mildnet","repo_kind":"listed","path":"trainer/loss.py","file_url":"https://github.com/Ducvoccer/mildnet/blob/HEAD/trainer/loss.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":"7cd865a3008326b6"}},{"code_sha256_prefix":"68ff342bcecec641","entry":"hinge_new_loss_fn","repo":"Ducvoccer/mildnet","repo_kind":"listed","path":"trainer/loss.py","file_url":"https://github.com/Ducvoccer/mildnet/blob/HEAD/trainer/loss.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":"68ff342bcecec641"}},{"code_sha256_prefix":"98ad5c847015bf7f","entry":"hinge_twice_loss_fn","repo":"Ducvoccer/mildnet","repo_kind":"listed","path":"trainer/loss.py","file_url":"https://github.com/Ducvoccer/mildnet/blob/HEAD/trainer/loss.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":"98ad5c847015bf7f"}},{"code_sha256_prefix":"6c3cb340ed94f4da","entry":"print_trainable_counts","repo":"Ducvoccer/mildnet","repo_kind":"listed","path":"trainer/utils.py","file_url":"https://github.com/Ducvoccer/mildnet/blob/HEAD/trainer/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":"6c3cb340ed94f4da"}},{"code_sha256_prefix":"1f5d7aded9eed612","entry":"random_rotation","repo":"Ducvoccer/mildnet","repo_kind":"listed","path":"trainer/datagen.py","file_url":"https://github.com/Ducvoccer/mildnet/blob/HEAD/trainer/datagen.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":"1f5d7aded9eed612"}},{"code_sha256_prefix":"840b01867b74e068","entry":"random_shear","repo":"Ducvoccer/mildnet","repo_kind":"listed","path":"trainer/datagen.py","file_url":"https://github.com/Ducvoccer/mildnet/blob/HEAD/trainer/datagen.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":"840b01867b74e068"}},{"code_sha256_prefix":"48f4dd970a599237","entry":"random_shift","repo":"Ducvoccer/mildnet","repo_kind":"listed","path":"trainer/datagen.py","file_url":"https://github.com/Ducvoccer/mildnet/blob/HEAD/trainer/datagen.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":"48f4dd970a599237"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}