Enabling Validation for Robust Few-Shot Recognition

enabling-validation-for-robust-few-shot-recognition

Enabling Validation for Robust Few-Shot Recognition

[Submitted on 5 Jun 2025 (v1), last revised 14 Oct 2026 (this version, v4)]

View PDF HTML (experimental)

Abstract:A key challenge in Few-Shot Recognition (FSR) is the scarcity of labeled task-specific data for training. Contemporary methods mitigate this challenge by exploiting pretrained Vision-Language Models (VLMs) for their learned transferable features. Some recent ones augment the scarce data by retrieving relevant yet out-of-distribution (OOD) examples from external data sources. However, they largely overlook an equally fundamental challenge: the absence of validation data for model selection and hyperparameter tuning. As a result, the adapted VLMs overfit the few-shot training data and generalize poorly to OOD test data. We show that retrieved data provide a natural source of validation, but their direct use creates a fundamental paradox. Since the retrieved samples are inherently OOD w.r.t the few-shot ID training data, adapting a VLM to the ID data constantly degrades its performance on the retrieved data. Consequently, conventional validation relying on the accuracy of retrieved data favors no adaptation and prevents improved generalization. To resolve this dilemma, we formulate validation as a multi-objective optimization (MOO) problem between performance gains on the few-shot ID data and the performance preservation on the retrieved data. We introduce a simple yet effective validation strategy by choosing an operating point on the Pareto front of the MOO problem. This strategy enables hyperparameter tuning, which had been unrealistically done by using test data, thereby mitigating overfitting and improving generalization. We integrate it into a stage-wise finetuning pipeline, termed Validation-Enabled Stage-wise Tuning (VEST). Extensive experiments on five established benchmarks show that VEST consistently outperforms existing approaches on both ID and OOD test data.

Submission history

From: Hanxin Wang [view email]
[v1] Thu, 5 Jun 2025 07:37:15 UTC (1,493 KB)
[v2] Fri, 5 Dec 2025 08:56:48 UTC (1,761 KB)
[v3] Tue, 9 Dec 2025 09:22:13 UTC (1,733 KB)
[v4] Wed, 14 Oct 2026 04:19:25 UTC (2,752 KB)