UCL Discovery
UCL home » Library Services » Electronic resources » UCL Discovery

Query-centric distance modulator for few-shot classification

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.

[thumbnail of WenxiaoWu-PR-2024.pdf] Text
WenxiaoWu-PR-2024.pdf - Accepted Version
Access restricted to UCL open access staff until 8 March 2025.

Download (12MB)

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
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
Downloads since deposit
1Download
Download activity - last month
Download activity - last 12 months
Downloads by country - last 12 months

Archive Staff Only

View Item View Item