Deep metric learning aims at learning the distance metric between pair of samples, through the deep neural networks to extract the semantic feature embeddings where similar samples are close to each other while dissimilar samples are farther apart. A large amount of loss functions based on pair distances have been presented in the literature for guiding the training of deep metric learning. In this paper, we unify them in a general pair-based weighting loss function, where the minimizing objective loss is just the distances weighting of informative pairs. The general pair-based weighting loss includes two main aspects, (1) samples mining and (2) pairs weighting. Samples mining aims at selecting the informative positive and negative pair sets to exploit the structured relationship of samples in a mini-batch and also reduce the number of non-trivial pairs. Pair weighting aims at assigning different weights for different pairs according to the pair distances for discriminatively training the network. We detailedly review those existing pair-based losses inline with our general loss function, and explore some possible methods from the perspective of samples mining and pairs weighting. Finally, extensive experiments on three image retrieval datasets show that our general pair-based weighting loss obtains new state-of-the-art performance, demonstrating the effectiveness of the pair-based samples mining and pairs weighting for deep metric learning.
Skin Lesion Classification Using CNNs with Patch-Based Attention and Diagnosis-Guided Loss Weighting
Hamburg University of Technology(汉堡工业大学);University Medical Center Hamburg-Eppendorf(汉堡-埃彭多夫大学医学中心);DAISYlabs, Forschungszentrum Medizintechnik Hamburg(汉堡医疗技术研究中心DAISYlabs)
Skin Lesion Diagnosis using Ensembles, Unscaled Multi-Crop Evaluation and Loss Weighting
Forschungszentrum Medizintechnik Hamburg(汉堡医疗技术研究中心);Hamburg University of Technology(汉堡工业大学);University Medical Center Hamburg-Eppendorf(汉堡-埃彭多夫大学医学中心)
Latent Temporal Discrepancy as Motion Prior: A Loss-Weighting Strategy for Dynamic Fidelity in T2V
University of Chinese Academy of Sciences(中国科学院大学);AMAP, Alibaba Group(阿里云实验室);Southeast University(东南大学);CRISE, Institute of Automation Chinese Academy of Sciences(中国科学院自动化研究所)
Universal Weighting Metric Learning for Cross-Modal Matching
Center for Future Media(未来媒体中心);School of Computer Science and Engineering(计算机科学与工程学院);University of Electronic Science and Technology of China(电子科技大学)
Learning deep abdominal CT registration through adaptive loss weighting and synthetic data generation
SINTEF(挪威科学与工业研究基金会);Norwegian University of Science and Technology (NTNU)(挪威科技大学);St. Olavs hospital, Trondheim University Hospital(圣奥拉夫医院,特隆赫姆大学医院);Oslo University Hospital(奥斯陆大学医院)
Generating and Weighting Semantically Consistent Sample Pairs for Ultrasound Contrastive Learning
The Chinese University of Hong Kong (Shenzhen)(香港中文大学(深圳));Institute of Information Engineering, Chinese Academy of Sciences(中国科学院信息工程研究所);Shenzhen Research Institute of Big Data(深圳大数据研究院)
An Efficient Watermarking Method for Latent Diffusion Models via Low-Rank Adaptation and Dynamic Loss Weighting
Xiamen Key Laboratory of Data Security and Blockchain Technology, Huaqiao University, Xiamen 361021, China(厦门数据安全与区块链技术重点实验室,华侨大学,厦门361021,中国);Department of Information Engineering and Mathematics of the University of Siena, Italy(意大利锡耶纳大学信息工程与数学系);Guangdong Provincial Key Laboratory of Intelligent Information Processing, Shenzhen University, Shenzhen 518060, China(广东省智能信息处理重点实验室,深圳大学,深圳518060,中国);Shenzhen Key Laboratory of Media Security, Shenzhen University, Shenzhen 518060, China(深圳媒体安全重点实验室,深圳大学,深圳518060,中国);SZU-AFS Joint Innovation Center for AI Technology, Shenzhen University, Shenzhen 518060, China(深圳大学人工智能技术联合创新中心)
Meta ordinal weighting net for improving lung nodule classification
1 Shanghai Key Lab of Intelligent Information Processing, School of Computer Science 2 Institute of Science;Technology for Brain-inspired Intelligence Fudan University, Shanghai 200433, China
LEGS: Laplacian-Enhanced Gaussian Splatting with a Nonlinear Weighted Loss
Changchun Institute of Optics, Fine Mechanics and Physics, Chinese Academy of Sciences(中国科学院长春光学精密机械与物理研究所);University of Chinese Academy of Sciences(中国科学院大学)
Class-Wise Difficulty-Balanced Loss for Solving Class-Imbalance
Hitachi, Ltd.(日立有限公司);Research & Development Group(研发集团);Hitachi, Ltd. Research & Development Group(日立有限公司研发集团);Hitachi, Ltd. Research & Development Group, Tokyo(日立有限公司研发集团东京)