Wei Zhang, Yuan Xie, Jun Liu, Xi Wang, Chengjie Wang, Guannan Jiang, Bin-Bin Gao, Jinxiang Lai, Tao Wu, Siqian Yang, Wenlong Wu
We have not lifted any functions out of this paper's repositories yet, so there is nothing we have run. The repositories linked to it are listed below.
Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.
Recent Few-Shot Learning (FSL) methods put emphasis on generating a discriminative embedding features to precisely measure the similarity between support and query sets. Current CNN-based cross-attention approaches generate discriminative representations via enhancing the mutually semantic similar regions of support and query pairs. However, it suffers from two problems: CNN structure produces inaccurate attention map based on local features, and mutually similar backgrounds cause distraction. To alleviate these problems, we design a novel SpatialFormer structure to generate more accurate attention regions based on global features. Different from the traditional Transformer modeling intrinsic instancelevel similarity which causes accuracy degradation in FSL, our SpatialFormer explores the semantic-level similarity between pair inputs to boost the performance. Then we derive two specific attention modules, named SpatialFormer Semantic Attention (SFSA) and SpatialFormer Target Attention (SFTA), to enhance the target object regions while reduce the background distraction. Particularly, SFSA highlights the regions with same semantic information between pair features, and SFTA finds potential foreground object regions of novel feature that are similar to base categories. Extensive experiments show that our methods are effective and achieve new state-of-the-art results on few-shot classification benchmarks.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2303.09281")
get_code_for_paper("2303.09281")
have("2303.09281")
The run record, dated, one paper per request, free:
curl https://syntology.ai/api/ran/2303.09281.json
A badge for a README (the split and the date, never a ratio):
[](https://syntology.ai/paper/2303.09281)
Connect an agent — have() is free.