REVIEW 3 major objections 3 minor 26 references
Hierarchical Multi-Positive Contrastive Learning for Patent Image Retrieval
T0 review · 3 major / 3 minor · reviewed 2026-08-15 · deepseek-v4-flash
Pith's one-line read The paper proposes replacing the standard single-positive contrastive loss with a hierarchy-weighted multi-positive loss, using the Locarno International Classification to assign patent images multiple positive pairs with decreasing…
desk verdict Clean, honest core idea with a misleading abstract: patent-level mAP drops in the paper's own tables contradict the 'enhances retrieval' headline, but the method is a reasonable baseline and worth a referee. read the letter →
The pith
A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.
The reading
What carries the argument
The load-bearing object is the hierarchical multi-positive contrastive loss of Equation 4, built from the relevance function $h_{ij}$ of Equation 2 and its normalization $H_i$ of Equation 3. $h_{ij}$ converts the LIC taxonomy into training weights, so the loss maximizes the cosine similarity of an anchor to several positives, weighted by how close they are in the patent hierarchy; the standard contrastive loss of Equation 1 is the special case with a single positive pair scored 1. This mechanism is what injects the hierarchy into the embedding space, and it generalizes to any taxonomy by redefining $h_{ij}$.
What would settle it
Retrain the same encoders with the same batches but shuffled or random LIC labels; if subclass- and main-class mAP still rises above conventional contrastive learning, the gains are not caused by the taxonomy's semantic structure. A second check is to count, for a fixed query, how often the top retrieved same-subclass images are visually unrelated drawings: enough such cases would indicate the loss is aligning administrative labels rather than visual content.
Extended reading notes
Core claim
The central claim is that replacing the standard contrastive loss with a hierarchy-weighted multi-positive version improves patent image retrieval. Concretely, for an anchor image $x_i$, every other image $\tilde{x}_j$ in the batch receives a relevance score $h_{ij}$: $s_p=1$ for same patent ID, $s_s=0.35$ for same LIC subclass, $s_m=0.2$ for same main class, and $0$ otherwise, and the loss in Equation 4 uses $h_{ij}/H_i$ as weights over the positive log-probabilities. The authors report that this formulation outperforms conventional contrastive fine-tuning at the subclass and main class levels on almost every model tested, with the largest gains on small models such as ResNet-18 and ViT-Tiny, while acknowledging a small patent-ID level drop for larger ViT and CLIP models. The hierarchy signal also produces more separable subclass clusters in the embedding space, as shown by PCA projections.
Load-bearing premise
The method assumes the LIC taxonomy tracks visual relevance: images sharing a subclass or main class are treated as usefully similar even when they depict different objects, so the hierarchy can serve as a training signal.
Editorial extensions
If this is right
- At the subclass and main class levels, retrieval quality improves on the DeepPatent2 test set for ResNet, ViT, and CLIP encoders when the hierarchical loss replaces standard contrastive fine-tuning.
- Small models, including ResNet-18 and ViT-Tiny, receive the largest relative gains, which suggests useful patent retrieval can run on hardware with limited compute.
- The method trades a small amount of exact patent-ID precision on larger ViT and CLIP models for broader-level ranking gains, an explicit design trade-off.
- Because Equation 4 only depends on the scoring function $h_{ij}$, the same recipe transfers to other classification systems, such as the Cooperative Patent Classification.
- Adding the text-supervision term of Equation 5 further improves multimodal CLIP retrieval, so the hierarchy signal composes with language supervision.
Reading between the lines
- A natural experiment the paper does not run is to permute the LIC labels during training; if subclass-level mAP gains persist under shuffled taxonomy labels, the effect would come from extra positives in general rather than from hierarchy semantics.
- The hand-set weights $s_p=1$, $s_s=0.35$, $s_m=0.2$ are arbitrary; optimizing them per level or per subclass may widen or narrow the reported trade-off, and the paper's own claim would be strengthened by a sensitivity analysis.
- The larger gains for small models suggest the hierarchy acts partly as a regularizer; one could test this by measuring whether HMCL also improves linear probing on held-out subclasses not seen during fine-tuning.
Signed reviews
Editorial analysis
A structured set of objections, weighed in public.
Referee Report
Summary. The paper proposes a hierarchical multi-positive contrastive learning (HMCL) loss for patent image retrieval. Instead of treating only same-patent images as positives, Eq. (4) weights every pair in the batch by a score h_ij from Eq. (2), which assigns decreasing relevance to images sharing the same patent ID, subclass, or main class under the Locarno International Classification (LIC). The authors fine-tune ViT, ResNet, and CLIP models on DeepPatent2 and report mAP/nDCG at three hierarchical levels, concluding that the method improves retrieval, especially for low-parameter models.
Significance. The loss formulation is simple, coherent, and a natural extension of standard contrastive learning, and the paper's strengths include multi-seed experiments across several architectures, use of the public DeepPatent2 benchmark, and a clear hierarchical evaluation protocol. If the claims were fully supported, the method would be a useful, low-cost contribution to patent image retrieval. However, the evidence is currently mixed: patent-ID mAP drops on several models, and the mechanism is not isolated from label co-occurrence, so the central claim is not yet established as stated.
major comments (3)
- [Table 1 and Table 2] The abstract and Section 5 claim that HMCL 'enhances retrieval performance at all hierarchical levels,' but the patent-ID mAP in Table 1 decreases for ViT-Small (0.349 to 0.347), ViT-Base (0.333 to 0.324), and ViT-Large (0.348 to 0.345) relative to CL, and in Table 2 for CLIP-B/16* (0.373 to 0.356), CLIP-L/14* (0.454 to 0.452), CLIP-B/16 (0.401 to 0.386), and CLIP-L/14 (0.458 to 0.439). This directly contradicts the unqualified claim that the method enhances retrieval results. The paper must either restrict the claim to the subclass and main-class levels or characterize the trade-off explicitly, and the explanation in Section 4 that this deterioration is 'expected' should be supported by a mechanism check rather than asserted.
- [Section 3, Eq. (2) and Eq. (5)] The scores sp=1, ss=0.35, sm=0.2 and the weight λ=0.2 are fixed without any sensitivity analysis, although the entire method rests on these hand-set hyperparameters. Please provide an ablation over these values (at least over ss and sm, and ideally over λ and the temperature τ) to show that the reported subclass/main-class gains are not an artifact of a particular weighting. Without such an ablation, it is unclear whether the method is robust or tuned to one setting.
- [Section 3 and Section 4] The LIC taxonomy is used both to define the training positives (Eq. 2) and to define the evaluation relevance sets, so the observed subclass/main-class improvements could reflect fitting to administrative label structure rather than visual-semantic similarity. The paper needs a control experiment that breaks the label-signal link—for example, randomly permuting subclass and main-class labels during training, or training with non-hierarchical co-class positives—to establish that the gains come from the LIC hierarchy and not from label co-occurrence alone. This is load-bearing because the entire motivation of the method is the semantic usefulness of the taxonomy.
minor comments (3)
- [Keywords and Section 5] The keyword 'Hierarchical Multipositive Contrastive Learning' and the phrase 'hierarchical multipositive contrastive learning' in Section 5 use 'Multipositive' as one word, while the abstract and title use 'multi-positive.' Please use hyphenated spelling consistently throughout.
- [Eq. (4) and Eq. (5)] State explicitly whether the sums over j include the anchor itself. The standard contrastive loss excludes the self-pair, and the notation should be unambiguous about this; otherwise the normalization factor H_i in Eq. (3) cannot be verified.
- [Section 4] The paragraph reporting standard deviations gives approximate aggregate values but does not report them per model or per method. Please include per-method standard deviations in the tables or a supplementary table, since the paper claims multi-seed experiments and the reader cannot assess the significance of the differences.
Circularity Check
No significant circularity: HMCL loss is a new objective evaluated on an external benchmark; results are empirical rather than derived from fitted constants.
full rationale
The paper's derivation chain is self-contained and does not reduce any claimed result to its own inputs. Equation 2 defines the hierarchical relevance scores h_ij using the LIC taxonomy, and Equation 4 inserts these scores into a multi-positive contrastive loss. The scores sp=1, ss=0.35, sm=0.2 are hand-set hyperparameters, not fitted to the test labels or to the retrieval metrics. The central claim that HMCL improves retrieval is supported by comparisons against a conventional contrastive baseline (CL) and a no-fine-tuning baseline on the external DeepPatent2 dataset. The authors explicitly report that patent-ID mAP declines for some models while subclass and main-class mAP improve, describing this as a trade-off rather than hiding it. Using the same taxonomy for training and evaluation is a standard supervised-learning setup and could raise a correctness question about whether gains reflect administrative labels or visual semantics, but that is not a circular derivation: no equation in the paper is equivalent to its inputs by construction, no fitted parameter is renamed as a prediction, and the cited works are used for context or baselines rather than as the sole justification of the central claim. The claim that Equation 1 is a special case of Equation 4 is a mathematical containment, not circularity. Overall, no circular step was found.
Assumptions & free parameters
free parameters (5)
- sp =
1
- ss =
0.35
- sm =
0.2
- lambda =
0.2
- tau =
0.1
assumptions (4)
- domain assumption Cosine similarity in the embedding space is an appropriate relevance measure for patent images at all hierarchical levels.
- domain assumption Coarser LIC levels (same main class, same subclass) imply relevant positive relationships, with a fixed transitive ordering s_p > s_s > s_m.
- domain assumption The DeepPatent2 2007 subset is representative of patent image retrieval, and the given split yields unbiased evaluation.
- standard math Standard softmax-normalized InfoNCE-style loss is a valid training objective for retrieval.
Cite this review
Pith. "Pith review of Hierarchical Multi-Positive Contrastive Learning for Patent Image Retrieval." pith.science (2026). https://pith.science/paper/G4TKDPWJ
@misc{pith2026250613496,
author = {Pith},
title = {Pith review of: Hierarchical Multi-Positive Contrastive Learning for Patent Image Retrieval},
year = {2026},
howpublished = {\url{https://pith.science/paper/G4TKDPWJ}},
note = {Machine review of arXiv:2506.13496}
}
read the original abstract
Patent images are technical drawings that convey information about a patent's innovation. Patent image retrieval systems aim to search in vast collections and retrieve the most relevant images. Despite recent advances in information retrieval, patent images still pose significant challenges due to their technical intricacies and complex semantic information, requiring efficient fine-tuning for domain adaptation. Current methods neglect patents' hierarchical relationships, such as those defined by the Locarno International Classification (LIC) system, which groups broad categories (e.g., "furnishing") into subclasses (e.g., "seats" and "beds") and further into specific patent designs. In this work, we introduce a hierarchical multi-positive contrastive loss that leverages the LIC's taxonomy to induce such relations in the retrieval process. Our approach assigns multiple positive pairs to each patent image within a batch, with varying similarity scores based on the hierarchical taxonomy. Our experimental analysis with various vision and multimodal models on the DeepPatent2 dataset shows that the proposed method enhances the retrieval results. Notably, our method is effective with low-parameter models, which require fewer computational resources and can be deployed on environments with limited hardware.
Figures
Reference graph
Works this paper leans on
- [1]
-
[2]
A. Vaswani, N. Shazeer, N. Parmar, J. Uszkoreit, L. Jones, A. N. Gomez, Ł. Kaiser, I. Polosukhin, Atten- tion is all you need, Advances in neural information processing systems 30 (2017)
work page 2017
-
[3]
J. Devlin, M.-W. Chang, K. Lee, K. Toutanova, Bert: Pre-training of deep bidirectional transformers for lan- guage understanding, in: Proceedings of the 2019 conference of the North American chapter of the asso- 4 Kshitij Kavimandan et al.CEUR Workshop Proceedings1–6 ciation for computational linguistics: human language technologies, volume 1 (long and sh...
work page 2019
-
[4]
A. Dosovitskiy, L. Beyer, A. Kolesnikov, D. Weis- senborn, X. Zhai, T. Unterthiner, M. Dehghani, M. Min- derer, G. Heigold, S. Gelly, J. Uszkoreit, N. Houlsby, An image is worth 16x16 words: Transformers for image recognition at scale, in: International Confer- ence on Learning Representations, 2021. URL: https: //openreview.net/forum?id=YicbFdNTTy
work page 2021
-
[5]
K. He, X. Zhang, S. Ren, J. Sun, Deep residual learning for image recognition, in: Proceedings of the IEEE con- ference on computer vision and pattern recognition, 2016, pp. 770–778
2016
-
[6]
R. Geirhos, P. Rubisch, C. Michaelis, M. Bethge, F. A. Wichmann, W. Brendel, Imagenet-trained cnns are biased towards texture; increasing shape bias improves accuracy and robustness, in: International conference on learning representations, 2018
work page 2018
-
[7]
H. Wang, S. Ge, Z. Lipton, E. P. Xing, Learning robust global representations by penalizing local predictive power, Advances in neural information processing systems 32 (2019)
work page 2019
-
[8]
P. Sangkloy, N. Burnell, C. Ham, J. Hays, The sketchy database: learning to retrieve badly drawn bunnies, ACM Transactions on Graphics (TOG) 35 (2016) 1–12
work page 2016
Show all 26 references
-
[9]
Aubakirova, K
D. Aubakirova, K. Gerdes, L. Liu, Patfig: Generating short and long captions for patent figures, in: Pro- ceedings of the IEEE/CVF International Conference on Computer Vision, 2023, pp. 2843–2849
2023
-
[10]
Lo, J.-M
H.-C. Lo, J.-M. Chu, J. Hsiang, C.-C. Cho, Large lan- guage model informed patent image retrieval,
-
[11]
Radford, J
A. Radford, J. W. Kim, C. Hallacy, A. Ramesh, G. Goh, S. Agarwal, G. Sastry, A. Askell, P. Mishkin, J. Clark, et al., Learning transferable visual models from natural language supervision, in: International conference on machine learning, PmLR, 2021, pp. 8748–8763
2021
-
[12]
Ajayi, X
K. Ajayi, X. Wei, M. Gryder, W. Shields, J. Wu, S. M. Jones, M. Kucer, D. Oyen, Deeppatent2: A large-scale benchmarking corpus for technical drawing under- standing, Scientific Data 10 (2023) 772
2023
-
[13]
H. Wang, Y. Zhang, Learning efficient representations for image-based patent retrieval, in: Chinese Con- ference on Pattern Recognition and Computer Vision (PRCV), Springer, 2023, pp. 15–26
2023
-
[14]
Higuchi, K
K. Higuchi, K. Yanai, Patent image retrieval using transformer-based deep metric learning, World Patent Information 74 (2023) 102217
2023
-
[15]
World Intellectual Property Office, Locarno classifi- cation, https://www.wipo.int/classifications/locarno/,
-
[16]
Mettes, M
P. Mettes, M. Ghadimi Atigh, M. Keller-Ressel, J. Gu, S. Yeung, Hyperbolic deep learning in computer vision: A survey, International Journal of Computer Vision 132 (2024) 3484–3508
2024
-
[17]
Nalmpantis, P
A. Nalmpantis, P. Lippe, S. Magliacane, Hierarchical causal representation learning, in: Causal Representa- tion Learning Workshop at NeurIPS 2023, 2023
2023
-
[18]
Z. Liu, Y. Lin, Y. Cao, H. Hu, Y. Wei, Z. Zhang, S. Lin, B. Guo, Swin transformer: Hierarchical vision trans- former using shifted windows, in: Proceedings of the IEEE/CVF international conference on computer vision, 2021, pp. 10012–10022
2021
-
[19]
Y. Tian, L. Fan, P. Isola, H. Chang, D. Krishnan, Sta- blerep: Synthetic images from text-to-image models make strong visual representation learners, Advances in Neural Information Processing Systems 36 (2023) 48382–48402
2023
-
[20]
van den Oord, Y
A. van den Oord, Y. Li, O. Vinyals, Represen- tation learning with contrastive predictive cod- ing, 2019. URL: https://arxiv.org/abs/1807.03748. arXiv:1807.03748
2019 arXiv
-
[21]
Loshchilov, F
I. Loshchilov, F. Hutter, Decoupled weight decay regu- larization, in: International Conference on Learning Representations, 2019. URL: https://openreview.net/ forum?id=Bkg6RiCqY7
2019
-
[22]
Paszke, S
A. Paszke, S. Gross, F. Massa, A. Lerer, J. Bradbury, G. Chanan, T. Killeen, Z. Lin, N. Gimelshein, L. Antiga, A. Desmaison, A. Köpf, E. Yang, Z. DeVito, M. Rai- son, A. Tejani, S. Chilamkurthy, B. Steiner, L. Fang, J. Bai, S. Chintala, Pytorch: An imperative style, high- perf...
2019 arXiv
-
[23]
Falcon, The PyTorch Lightning team, Py- Torch Lightning, 2019
W. Falcon, The PyTorch Lightning team, Py- Torch Lightning, 2019. URL: https://github.com/ Lightning-AI/lightning. doi: 10.5281/zenodo. 3828935
2019 doi
-
[24]
T. Wolf, L. Debut, V. Sanh, J. Chaumond, C. Delangue, A. Moi, P. Cistac, T. Rault, R. Louf, M. Funtowicz, J. Davison, S. Shleifer, P. von Platen, C. Ma, Y. Jernite, J. Plu, C. Xu, T. Le Scao, S. Gugger, M. Drame, Q. Lhoest, A. Rush, Transformers: State-of-the-art natural lan- ...
2020
- [2024]
-
[2025]
Accessed: April 2025
2025
Reviewed August 15, 2026 · model on record in the stance chip above.
Discussion (0). Continue with ORCID to comment.