Slot Attention-Based Feature Filtering for Few-Shot Learning

Abstract

Irrelevant features can significantly degrade few-shot learning performance. This problem is used to match queries and support images based on meaningful similarities despite the limited data. However, in this process, non-relevant features such as background elements can easily lead to confusion and misclassification. To address this issue, we propose Slot Attention-based Feature Filtering for Few-Shot Learning (SAFF) that leverages slot attention mechanisms to discriminate and filter weak features, thereby improving few-shot classification performance. The key innovation of SAFF lies in its integration of slot attention with patch embeddings, unifying class-aware slots into a single attention mechanism to filter irrelevant features effectively. We introduce a similarity matrix that computes across support and query images to quantify the relevance of filtered embeddings for classification. Through experiments, we demonstrate that Slot Attention performs better than other attention mechanisms, capturing discriminative features while reducing irrelevant information. We validate our approach through extensive experiments on few-shot learning benchmarks: CIFAR-FS, FC100, miniImageNet and tieredImageNet, outperforming several state-of-the-art methods.

Cite

Text

Cumplido et al. "Slot Attention-Based Feature Filtering for Few-Shot Learning." IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops, 2025.

Markdown

[Cumplido et al. "Slot Attention-Based Feature Filtering for Few-Shot Learning." IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops, 2025.](https://mlanthology.org/cvprw/2025/cumplido2025cvprw-slot/)

BibTeX

@inproceedings{cumplido2025cvprw-slot,
  title     = {{Slot Attention-Based Feature Filtering for Few-Shot Learning}},
  author    = {Cumplido, Javier Ródenas and Aguilar, Eduardo and Radeva, Petia},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops},
  year      = {2025},
  pages     = {30-40},
  url       = {https://mlanthology.org/cvprw/2025/cumplido2025cvprw-slot/}
}