Wu, Wenxiao;
Shao, Yuanjie;
Gao, Changxin;
Xue, Jing-Hao;
Sang, Nong;
(2024)
Query-centric distance modulator for few-shot classification.
Pattern Recognition
, 151
, Article 110380. 10.1016/j.patcog.2024.110380.
Preview |
Text
WenxiaoWu-PR-2024.pdf - Accepted Version Download (12MB) | Preview |
Abstract
Few-shot classification (FSC) is a highly challenging task, as only a small number of labeled samples are available when identifying new categories. Distance metric learning-based methods have emerged as a prominent approach to FSC, which typically use a distance function to measure the difference between query and support samples for identifying the class membership of the query sample. However, these methods simply treat each channel difference between query and support features equally when computing the class scores. Since different channels in the learned feature seek for different patterns, these distance metrics fail to consider that different channels are of different importance to FSC, and thus cannot accurately measure the similarity between samples. To address this issue, we propose a Query-Centric Distance Modulator (QCDM) to generate query-related weights for each channel difference adaptively. Specifically, since the distribution of difference between a query sample and all support samples in a particular channel can reflect the importance of this channel to the classification of the query sample, we take this difference vector as input and generate a query-specific channel weight through a meta-network. QCDM can guide FSC models to focus on discriminative channel differences and achieve better generalization. QCDM is a plug-and-play module that can be seamlessly integrated with existing distance metric learning-based FSC methods. Extensive experimental results indicate that our method can effectively improve the performance of distance metric learning-based FSC methods. The source code is available in https://github.com/Wu-Wenxiao/QCDM.
Type: | Article |
---|---|
Title: | Query-centric distance modulator for few-shot classification |
Open access status: | An open access version is available from UCL Discovery |
DOI: | 10.1016/j.patcog.2024.110380 |
Publisher version: | https://doi.org/10.1016/j.patcog.2024.110380 |
Language: | English |
Additional information: | This version is the author accepted manuscript. For information on re-use, please refer to the publisher’s terms and conditions. |
Keywords: | Few-shot Classification, Distance Metric Learning-based, Channel-weighting, Query-Centric Distance Modulator |
UCL classification: | UCL UCL > Provost and Vice Provost Offices > UCL BEAMS UCL > Provost and Vice Provost Offices > UCL BEAMS > Faculty of Maths and Physical Sciences UCL > Provost and Vice Provost Offices > UCL BEAMS > Faculty of Maths and Physical Sciences > Dept of Statistical Science |
URI: | https://discovery.ucl.ac.uk/id/eprint/10189043 |
Archive Staff Only
![]() |
View Item |