Progressively Exploring and Exploiting Inference Data to Break Fine-Grained Classification Barrier

Li-Jun Zhao, Si-Yuan Zhang, Zhen-Duo Chen, Xin Luo, Xin-Shun Xu · DOI

TL;DR

This paper introduces a "learn-as-you-go" paradigm for fine-grained classification, where models use unlabeled data encountered during inference to refine their understanding of subtle category differences. By progressively exploring and exploiting this "cost-free" data, the proposed EXP2 method significantly boosts accuracy in dynamic, real-world scenarios where labeled data is scarce and categories are highly similar.

What Problem Does This Paper Address?

Fine-grained classification (FGC) involves distinguishing between very similar subcategories, such as specific bird species, car models, or aircraft types. Traditional machine learning follows a "train then test" pipeline, but FGC faces a "barrier" in the real world:

  1. Label Scarcity: Expert annotation for specialized categories is expensive and rare.
  2. High Similarity: Subcategories look very much alike (small inter-class difference), while individuals within a category can look very different (large intra-class variation).
  3. Dynamic Environments: Real-world data distributions shift over time, making static models obsolete.

The authors argue that relying solely on a few labeled training samples leads to "estimation error"—the model's idea of a category's center is slightly off, which, in the high-stakes world of FGC, leads to massive misclassification.

Fig. 2. Illustration of existing solutions and EXP2 method. (a) Existing solutions use scarce training samples to obtain classifiers, which often causes classifiers to deviate from the real distribution, leading to misclassification. (b)(c) EXP2 dynamically explores useful knowledge from test samples to optimize classifiers, thereby obtaining more accurate classification boundaries and enabling correct classification.

Methods

The authors propose a novel strategy called EXP2 (EXPloring and EXPloiting). Instead of freezing the model after training, EXP2 treats the inference phase as a continuous learning opportunity.

  • Exploring Useful Knowledge: As unlabeled test samples arrive, the model calculates their cosine similarity to existing class "prototypes" (mean feature vectors). It selects the most similar samples and filters them using a confidence threshold to avoid noise.
  • Exploiting Knowledge to Optimize Classifiers: The model updates its class prototypes using a weighted average of the original prototype and the newly "explored" unlabeled samples.
  • Decaying Update Degree: A key innovation is that the update rate ($\beta$) decays over time. This ensures that as a model gains more knowledge, it becomes more stable, preventing a few noisy outliers from drastically shifting well-established class boundaries.

Unlike standard Test-Time Adaptation (TTA) methods that rely on computationally expensive backpropagation, EXP2 uses simple vector arithmetic, making it extremely lightweight and fast.

Datasets

The researchers evaluated EXP2 across a variety of benchmarks to prove its versatility:

  • Fine-Grained Benchmarks: CUB200 (birds), FGVCAircraft, StanfordCars, and StanfordDogs.
  • Coarse-Grained Benchmarks: CIFAR100 and miniImageNet (to show the method works even on general classification tasks).

Key Insights and Ideas

  • The Math of Overlap: The authors provide a theoretical proof showing that in fine-grained scenarios, even a tiny error in estimating a class mean ($\epsilon$) dramatically increases the probability of class overlap. This explains why traditional few-shot methods struggle.
  • Inference Data is a Goldmine: Most systems treat test data as a one-off evaluation. This paper argues that this "cost-free" data is actually a vital resource for capturing the diverse intra-class features that limited training sets miss.
  • Avoiding "Classification Collapse": Many adaptation methods suffer from "forgetting" or collapsing toward a few classes when labels are scarce. EXP2’s prototype-based approach and decaying update rate provide a stable way to adapt without losing previous knowledge.
Fig. 3. Illustration of an example to show the impact of estimation error on the probability of inter-class overlap. In this figure, δinter = 1, σintra = 0.5 for A, and δinter = 5, σintra = 0.1 for B, i.e., A has a smaller δinter and a larger σintra than B, making it more susceptible to inter-class overlap caused by estimation errors.

Key Results

  • Significant Accuracy Boosts: On the CUB200 dataset, EXP2 improved the "incremental class accuracy" (accuracy on new classes with few labels) by approximately 4% over state-of-the-art baselines like TEEN and SAVC.
  • Superiority over TTA: Standard Test-Time Adaptation methods often "collapsed" on complex fine-grained tasks, whereas EXP2 remained robust.
  • Efficiency: The computational overhead of EXP2 is negligible. It adds almost no time to the inference process (approx. 1.245ms per sample), making it suitable for real-time applications.

Limitations and Future Work

While highly effective, the current version of EXP2 is primarily evaluated within the Few-Shot Class-Incremental Learning (FSCIL) framework. This means it assumes a specific structure of how new classes arrive.

The authors acknowledge that future work should explore even more "open" scenarios where there are no category restrictions on test data at all. They also aim to refine the "exploration" phase to better handle outliers and completely unseen classes in open-set environments.

Summary updated

Abstract

Current fine-grained classification research primarily focuses on fine-grained feature learning. However, in real-world scenarios, fine-grained data annotation is challenging, and the features and semantics are highly diverse and frequently changing. These issues create inherent barriers between traditional experimental settings and real-world applications, limiting the effectiveness of conventional fine-grained classification methods. Although some recent studies have provided potential solutions to these issues, most of them still rely on limited supervised information and thus fail to offer effective solutions. In this paper, based on theoretical analysis, we propose a novel learning paradigm to break the barriers in fine-grained classification. This paradigm enables the model to progressively learn during inference, thereby leveraging cost-free data at inference time to more accurately represent fine-grained categories and adapt to dynamic semantic changes. On this basis, an efficient EXPloring and EXPloiting strategy and method (EXP2) is designed. Thereinto, useful inference data samples are explored according to class representations and exploited to optimize classifiers. Experimental results demonstrate the general effectiveness of our method, providing guidance for future in-depth understanding and exploration of real-world fine-grained classification.
BibTeX
@inproceedings{zhao2026progressively,
  author = {Li-Jun Zhao and Si-Yuan Zhang and Zhen-Duo Chen and Xin Luo and Xin-Shun Xu},
  title = {{Progressively Exploring and Exploiting Inference Data to Break Fine-Grained Classification Barrier}},
  booktitle = {Scientia},
  year = {2026},
  doi = {10.1360/ssi-2025-0502},
}
Figure