PACO: Proxy-Task Alignment and Online Calibration for On-the-Fly Category Discovery
Organizations: China Agricultural University, College of Information and Electrical Engineering, Beijing, China · Concordia University, Department of Computer Science and Software Engineering, Montreal, Canada
Abstract
On-the-Fly Category Discovery (OCD) requires a model, trained on an offline support set, to recognize known classes while discovering new ones from an online streaming sequence. Existing methods focus heavily on offline training. They aim to learn discriminative representations on the support set so that novel classes can be separated at test time. However, their discovery mechanism at inference is typically reduced to a single threshold. We argue that this paradigm is fundamentally flawed as OCD is not a static classification problem, but a dynamic process. The model must continuously decide 1) whether a sample belongs to a known class, 2) matches an existing novel category, or 3) should initiate a new one. Moreover, prior methods treat the support set as fixed knowledge. They do not update their decision boundaries as new evidence arrives during inference. This leads to unstable and inconsistent category formation. Our experiments confirm these issues. With properly calibrated and adaptive thresholds, substantial improvements can be achieved, even without changing the representation. Motivated by this, we propose PACO, a support-set-calibrated, tree-structured online decision framework. The framework models inference as a sequence of hierarchical decisions, including known-class routing, birth-aware novel assignment, and attach-versus-create operations over a dynamic prototype memory. Furthermore, we simulate the proxy discovery process to initialize the thresholds during offline training to align with inference. Thresholds are continuously updated during inference using mature novel prototypes. Importantly, PACO requires no heavy training and no dataset-specific tuning. It can be directly integrated into existing OCD pipelines as an inference-time module. Extensive experiments show significant improvements over SOTA baselines across seven benchmarks.
Figures & tables
| Method | CIFAR-10 (%) | CIFAR-100 (%) | ImageNet-100 (%) | CUB-200-2011 (%) | Stanford Cars (%) | Oxford Pets (%) | Food101 (%) | Average (%) | |||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| All | Old | New | All | Old | New | All | Old | New | All | Old | New | All | Old | New | All | Old | New | All | Old | New | All | Old | New | ||
| Greedy–Hungarian | SLC ( Hartigan, 1975 ) | 65.9 | 96.5 | 50.9 | 46.9 | 62.1 | 16.6 | 34.2 | 86.6 | 7.1 | 31.3 | 48.5 | 22.7 | 24.0 | 45.8 | 13.6 | – | – | – | – | – | – | – | – | – |
| MLDG ( Li et al., 2018 ) | 71.6 | 97.5 | 58.6 | 58.4 | 69.0 | 37.3 | 33.6 | 74.4 | 13.1 | 34.2 | 57.9 | 22.4 | 28.0 | 49.1 | 17.7 | – | – | – | – | – | – | – | – | – | |
| RankStat ( Han et al., 2021 ) | 56.5 | 81.1 | 44.2 | 36.9 | 45.7 | 19.3 | 33.1 | 74.2 | 12.4 | 27.6 | 46.2 | 18.3 | 18.6 | 36.9 | 9.7 | – | – | – | – | – | – | – | – | – | |
| WTA ( Jia et al., 2021 ) | 65.4 | 88.0 | 54.1 | 44.1 | 55.5 | 21.2 | 33.1 | 75.8 | 11.7 | 26.5 | 45.0 | 17.3 | 20.0 | 38.8 | 10.6 | – | – | – | – | – | – | – | – | – | |
| SMILE ( Du et al., 2023 ) | 78.2 | 99.3 | 67.6 | 61.3 | 70.7 | 42.5 | 39.9 | 87.1 | 16.2 | 41.1 | 67.6 | 27.8 | 33.4 | 58.4 | 21.3 | 54.1 | 66.1 | 47.8 | 34.4 | 64.0 | 19.4 | 48.9 | 73.3 | 34.7 | |
| Method | CUB ( ) | SCars ( ) | ||||||
|---|---|---|---|---|---|---|---|---|
| #Cls | All | Old | New | #Cls | All | Old | New | |
| SMILE-16bit ( Du et al., 2023 ) | 924 | 31.9 | 52.7 | 21.5 | 896 | 27.5 | 52.5 | 15.4 |
| SMILE-32bit ( Du et al., 2023 ) | 2146 | 27.3 | 52.0 | 15.0 | 2953 | 21.9 | 46.8 | 9.9 |
| PHE-16bit ( Zheng et al., 2024a ) | 318 | 37.6 | 57.4 | 27.6 | 709 | 31.8 | 65.4 | 15.6 |
| PHE-32bit ( Zheng et al., 2024a ) | 474 | 38.5 | 59.9 | 27.8 | 762 | 31.5 | 64.0 | 15.8 |
| SynC ( Banerjee and Biswas, 2025 ) | 444 | 45.3 | 54.3 | 40.9 | 484 | 24.6 | 34.8 | 19.6 |
| Variant | CUB (%) | SCars (%) | ||||
|---|---|---|---|---|---|---|
| All | Old | New | All | Old | New | |
| w/o StatReg | 47.0 | 66.9 | 37.0 | 47.2 | 69.7 | 36.4 |
| w/o AngMargin | 23.7 | 6.3 | 32.4 | 14.6 | 5.3 | 19.0 |
| w/o OldRefSel | 48.0 | 63.9 | 40.1 | 47.3 | 72.2 | 35.3 |
| w/o EvidenceRouting | 46.6 | 66.7 | 36.5 | 47.1 | 70.4 | 35.9 |
| w/o DynBirthTight | 47.1 | 66.1 | 37.6 | 47.4 | 69.5 | 36.7 |
| Method | CUB (%) | SCars (%) | ||||
|---|---|---|---|---|---|---|
| All | Old | New | All | Old | New | |
| AGE ( Li et al., 2025 ) | 46.3 | 59.8 | 39.4 | 34.8 | 62.7 | 21.3 |
| AGE+SSC | 46.7 | 60.8 | 39.7 | 36.1 | 64.4 | 21.9 |
| \mathbf{\uparrow{\color[rgb]{1,0,0}0.4}} | \mathbf{\uparrow{\color[rgb]{1,0,0}1.0}} | \mathbf{\uparrow{\color[rgb]{1,0,0}0.3}} | \mathbf{\uparrow{\color[rgb]{1,0,0}1.3}} | \mathbf{\uparrow{\color[rgb]{1,0,0}1.7}} | \mathbf{\uparrow{\color[rgb]{1,0,0}0.6}} | |
| PHE-12bit ( Zheng et al., 2024a ) | 36.4 | 55.8 | 27.0 | 31.3 | 61.9 | 16.8 |
| PHE-12bit+SSC | 39.1 | 60.6 | 28.3 | 34.2 | 66.7 | 17.9 |
Appendix figures & tables6 assets
Supplementary material from the paper’s appendix.
Appendix
| Dataset | |||||
|---|---|---|---|---|---|
| CIFAR-10 | 10 | 5 | 5 | 12,500 | 37,500 |
| CIFAR-100 | 100 | 80 | 20 | 20,000 | 30,000 |
| ImageNet-100 | 100 | 50 | 50 | 31,860 | 95,255 |
| CUB-200-2011 | 200 | 100 | 100 | 1,498 | 4,496 |
| Stanford Cars | 196 | 98 | 98 | 2,000 | 6,144 |
| Oxford-IIIT Pet | 37 | 19 | 18 | 942 | 2,738 |
| Dataset | Strict–Hungarian (%) | Greedy–Hungarian (%) | ||||
|---|---|---|---|---|---|---|
| All | Old | New | All | Old | New | |
| CIFAR-10 | 58.07 0.57 | 57.60 0.86 | 58.30 0.94 | 87.13 0.20 | 97.40 0.09 | 82.00 0.29 |
| CIFAR-100 | 67.03 0.48 | 78.80 0.67 | 43.50 1.24 | 71.10 0.35 | 83.60 0.50 | 46.10 0.98 |
| ImageNet-100 | 67.81 0.34 | 92.70 0.29 | 55.30 0.81 | 68.87 0.27 | 92.70 0.23 | 56.90 0.69 |
| CUB-200-2011 | 49.70 1.14 | 67.10 1.47 | 41.00 1.89 | 53.83 0.79 | 79.70 1.02 | 40.90 1.58 |
| Stanford Cars | 49.87 1.06 | 72.40 1.28 | 39.00 2.05 | 53.07 0.71 | 79.10 0.91 | 40.50 1.43 |
| Dataset | Total (s) | Support feature extraction (s) | Support-only calibration (s) |
|---|---|---|---|
| CIFAR-10 | 55.06 4.10 | 27.84 0.07 | 27.23 4.07 |
| CIFAR-100 | 118.07 19.88 | 44.03 0.02 | 74.04 19.87 |
| ImageNet-100 | 186.00 18.19 | 70.42 0.32 | 115.58 18.15 |
| CUB-200-2011 | 8.48 0.58 | 4.17 0.07 | 4.31 0.63 |
| Stanford Cars | 13.06 3.05 | 7.39 1.12 | 5.67 2.06 |
| Oxford-IIIT Pet | 4.31 0.07 | 2.93 0.04 | 1.38 0.06 |
Generalized Category Discovery
Generalized category discovery learns known classes from labeled examples while grouping unlabeled data into known and previously unseen categories.
See all 25 papers