Add model card for TALON
#1
by
nielsr HF Staff - opened
README.md
CHANGED
|
@@ -1,3 +1,54 @@
|
|
| 1 |
-
---
|
| 2 |
-
license: mit
|
| 3 |
-
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
pipeline_tag: image-classification
|
| 4 |
+
---
|
| 5 |
+
|
| 6 |
+
# TALON: Test-time Adaptive Learning for On-the-Fly Category Discovery
|
| 7 |
+
|
| 8 |
+
TALON is a test-time adaptation framework for on-the-fly category discovery (OCD) that enables a model to recognize known categories while simultaneously discovering novel ones from an unlabeled online stream.
|
| 9 |
+
|
| 10 |
+
This repository contains the official implementation and weights for the paper [TALON: Test-time Adaptive Learning for On-the-Fly Category Discovery](https://huggingface.co/papers/2603.08075), presented at **CVPR 2026**.
|
| 11 |
+
|
| 12 |
+
- **GitHub:** [https://github.com/ynanwu/TALON](https://github.com/ynanwu/TALON)
|
| 13 |
+
- **Paper:** [arXiv:2603.08075](https://huggingface.co/papers/2603.08075)
|
| 14 |
+
|
| 15 |
+
## Method Overview
|
| 16 |
+
|
| 17 |
+
Existing OCD methods often freeze the feature extractor, which limits the learning potential of incoming data. TALON addresses this with two complementary strategies:
|
| 18 |
+
1. **Semantic-aware prototype update**: Dynamically refines class prototypes to improve classification.
|
| 19 |
+
2. **Stable test-time encoder update**: Integrates new information directly into the parameter space.
|
| 20 |
+
3. **Margin-aware logit calibration**: Applied during the offline stage to reserve embedding space for future class discovery.
|
| 21 |
+
|
| 22 |
+
## Installation
|
| 23 |
+
|
| 24 |
+
This project uses [`uv`](https://github.com/astral-sh/uv) for dependency management.
|
| 25 |
+
|
| 26 |
+
```bash
|
| 27 |
+
# Clone the repository
|
| 28 |
+
git clone https://github.com/ynanwu/TALON
|
| 29 |
+
cd TALON
|
| 30 |
+
|
| 31 |
+
# Install all dependencies
|
| 32 |
+
uv sync
|
| 33 |
+
```
|
| 34 |
+
|
| 35 |
+
## Usage
|
| 36 |
+
|
| 37 |
+
To evaluate a pretrained checkpoint (e.g., CUB with a CLIP backbone):
|
| 38 |
+
|
| 39 |
+
```bash
|
| 40 |
+
uv run test.py --dataset_name cub --backbone clip --ckpt_path checkpoints/clip/cub/best_model.pth
|
| 41 |
+
```
|
| 42 |
+
|
| 43 |
+
## Citation
|
| 44 |
+
|
| 45 |
+
If you find this work useful for your research, please consider citing the paper:
|
| 46 |
+
|
| 47 |
+
```bibtex
|
| 48 |
+
@inproceedings{talon2026,
|
| 49 |
+
title={TALON: Test-time Adaptive Learning for On-the-Fly Category Discovery},
|
| 50 |
+
author={Wu, Yanan and Yan, Yuhan and Chen, Tailai and Chi, Zhixiang and Wu, ZiZhang and Jin, Yi and Wang, Yang and Li Zhenbo},
|
| 51 |
+
booktitle={Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition},
|
| 52 |
+
year={2026}
|
| 53 |
+
}
|
| 54 |
+
```
|