DPs-ViT: dynamic partial shifting for resource-constrained few-shot open-set recognition
Few-shot open-set recognition (FSOSR) must classify known categories from limited labelled support data while rejecting unseen categories. Edge deployment makes this task more difficult because lightweight models must preserve discriminative context under strict resource constraints. Limited contextual modelling can weaken the embeddings used to construct class prototypes, while scarce support samples make these prototypes statistically unreliable. This coupled error chain can cause unknown queries to be accepted as known classes. We propose Dynamic Partial Shift Vision Transformer (DPs-ViT), a lightweight FSOSR framework that jointly improves contextual representation and metric reliability. DPs-ViT uses activation-based feature energy to guide partial-channexl propagation at fine and coarse spatial scales. A training-only masking and reconstruction objective provides additional representation regularisation. Shot-aware, dual-constraint metric learning promotes discriminative geometry in 1-shot tasks and stabilises covariance estimates in multi-shot tasks. Across miniImageNet and tieredImageNet, DPs-ViT delivers competitive classification and open-set recognition performance. Controlled Raspberry Pi 5 measurements further demonstrate a favourable recognition–efficiency trade-off relative to ResNet-12.
Authors
- Tianzhang Xing (ORCID: https://orcid.org/0000-0001-7526-7269)
- Zhidan Liu (ORCID: https://orcid.org/0000-0002-0211-877X)
- Lin Wang (ORCID: https://orcid.org/0000-0003-1026-0060)
- Zhenjiang Li (ORCID: https://orcid.org/0000-0002-3296-3392)
- Zixiao Wang (ORCID: https://orcid.org/0000-0001-7962-733X)
- Qi Dong
- Yutian Ma
Institutions
- City University of Hong Kong (HK)
- Northwest University (CN)
- The Hong Kong University of Science and Technology (Guangzhou) (CN)
Publication Details
- Journal
- Journal of King Saud University - Computer and Information Sciences
- Published
- 2026-11-23
- DOI
- https://doi.org/10.1007/s44443-026-01393-z
- Primary Topic
- Domain Adaptation and Few-Shot Learning
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- Key Research and Development Projects of Shaanxi Province