Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,116 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
---
|
| 3 |
+
license: apache-2.0
|
| 4 |
+
task_categories:
|
| 5 |
+
- video-retrieval
|
| 6 |
+
- image-retrieval
|
| 7 |
+
tags:
|
| 8 |
+
- composed-video-retrieval
|
| 9 |
+
- composed-image-retrieval
|
| 10 |
+
- vision-language
|
| 11 |
+
- pytorch
|
| 12 |
+
- aaai-2026
|
| 13 |
+
---
|
| 14 |
+
|
| 15 |
+
<a id="top"></a>
|
| 16 |
+
<div align="center">
|
| 17 |
+
<h1>🎬 (AAAI 2026) ReTrack: Evidence-Driven Dual-Stream Directional Anchor Calibration Network for Composed Video Retrieval (Model Weights)</h1>
|
| 18 |
+
<div>
|
| 19 |
+
<a target="_blank" href="https://lee-zixu.github.io/">Zixu Li</a><sup>1</sup>,
|
| 20 |
+
<a target="_blank" href="https://faculty.sdu.edu.cn/huyupeng1/zh_CN/index.htm">Yupeng Hu</a><sup>1✉</sup>,
|
| 21 |
+
<a target="_blank" href="https://zivchen-ty.github.io/">Zhiwei Chen</a><sup>1</sup>,
|
| 22 |
+
<a target="_blank" href="https://windlikeo.github.io/HQL.github.io/">Qinlei Huang</a><sup>1</sup>,
|
| 23 |
+
Guozhi Qiu<sup>1</sup>,
|
| 24 |
+
<a target="_blank" href="https://zhihfu.github.io/">Zhiheng Fu</a><sup>1</sup>,
|
| 25 |
+
<a target="_blank" href="https://mengliu1991.github.io">Meng Liu</a><sup>2</sup>
|
| 26 |
+
</div>
|
| 27 |
+
<sup>1</sup>School of Software, Shandong University    </span> <br>
|
| 28 |
+
<sup>2</sup>School of Computer Science and Technology, Shandong Jianzhu University   </span>
|
| 29 |
+
<br />
|
| 30 |
+
<sup>✉ </sup>Corresponding author  </span>
|
| 31 |
+
<br/>
|
| 32 |
+
<p>
|
| 33 |
+
<a href="https://aaai.org/Conferences/AAAI-26/"><img src="https://img.shields.io/badge/AAAI-2026-blue.svg?style=flat-square" alt="AAAI 2026"></a>
|
| 34 |
+
<a href="https://ojs.aaai.org/index.php/AAAI/article/view/39507"><img alt='Paper' src="https://img.shields.io/badge/Paper-AAAI.39507-green.svg?style=flat-square"></a>
|
| 35 |
+
<a href="https://lee-zixu.github.io/ReTrack.github.io/"><img alt='Project Page' src="https://img.shields.io/badge/Website-orange?style=flat-square"></a>
|
| 36 |
+
<a href="https://github.com/Lee-zixu/ReTrack"><img alt='GitHub' src="https://img.shields.io/badge/GitHub-Repository-black?style=flat-square&logo=github"></a>
|
| 37 |
+
</p>
|
| 38 |
+
</div>
|
| 39 |
+
|
| 40 |
+
This repository hosts the official pre-trained model weights for **ReTrack**, an evidence-driven framework designed to calibrate directional bias in composed features for both Composed Video Retrieval (CVR) and Composed Image Retrieval (CIR) tasks.
|
| 41 |
+
|
| 42 |
+
---
|
| 43 |
+
|
| 44 |
+
|
| 45 |
+
## 📌 Model Information
|
| 46 |
+
|
| 47 |
+
### 1. Model Name
|
| 48 |
+
**ReTrack** (Evidence-Driven Dual-Stream Directional Anchor Calibration Network) Checkpoints.
|
| 49 |
+
|
| 50 |
+
### 2. Task Type & Applicable Tasks
|
| 51 |
+
- **Task Type:** Composed Video Retrieval (CVR) and Composed Image Retrieval (CIR).
|
| 52 |
+
- **Applicable Tasks:** Retrieving a target video or image based on a reference visual input combined with a modification text prompt. The model significantly reduces uncertainty caused by highly similar retrieval candidates in multi-modal queries.
|
| 53 |
+
|
| 54 |
+
### 3. Project Introduction
|
| 55 |
+
**ReTrack** is an advanced open-source PyTorch framework built on top of BLIP-2 (via Salesforce LAVIS) that improves multi-modal query understanding. It features:
|
| 56 |
+
- 🎯 **Dual-Stream Directional Anchor Calibration:** Explicitly identifies and calibrates visual and textual semantic contributions to resolve directional bias.
|
| 57 |
+
- ⚖️ **Reliable Evidence-Driven Alignment:** Leverages Dempster-Shafer Theory to evaluate similarity reliability, minimizing ambiguity among candidates.
|
| 58 |
+
|
| 59 |
+
### 4. Training Data Source & Hosted Weights
|
| 60 |
+
The framework is trained to support both the **WebVid-CoVR** dataset for video retrieval and the **FashionIQ / CIRR** datasets for image retrieval.
|
| 61 |
+
|
| 62 |
+
This Hugging Face repository provides the following pre-trained checkpoint:
|
| 63 |
+
* 📄 `ReTrack-WebVid-Frame1.ckpt`: The checkpoint trained on the WebVid-CoVR dataset (using a 1-frame configuration setting).
|
| 64 |
+
|
| 65 |
+
---
|
| 66 |
+
|
| 67 |
+
## 🚀 Usage & Basic Inference
|
| 68 |
+
|
| 69 |
+
These weights are designed to be evaluated using the highly modular, Hydra-configured [ReTrack GitHub repository](https://github.com/Lee-zixu/ReTrack).
|
| 70 |
+
|
| 71 |
+
### Step 1: Prepare the Environment
|
| 72 |
+
We recommend using Anaconda. Clone the repository and install dependencies:
|
| 73 |
+
```bash
|
| 74 |
+
git clone https://github.com/iLearn-Lab/AAAI26-ReTrack.git
|
| 75 |
+
cd ReTrack
|
| 76 |
+
conda create -n retrack python=3.8 -y
|
| 77 |
+
conda activate retrack
|
| 78 |
+
conda install pytorch torchvision torchaudio pytorch-cuda=11.8 -c pytorch -c nvidia
|
| 79 |
+
pip install -r requirements.txt
|
| 80 |
+
```
|
| 81 |
+
|
| 82 |
+
### Step 2: Download Model Weights & Prepare Data
|
| 83 |
+
1. Download `ReTrack-WebVid-Frame1.ckpt` from this Hugging Face repository.
|
| 84 |
+
2. Place the checkpoint in the appropriate directory as expected by your Hydra configuration (e.g., within a `checkpoints/` folder).
|
| 85 |
+
3. Ensure the WebVid-CoVR dataset is placed under your defined `datasets_dir` in `configs/machine/default.yaml`.
|
| 86 |
+
|
| 87 |
+
### Step 3: Run Evaluation
|
| 88 |
+
To evaluate the trained CVR model, use `test.py` and specify the path to your downloaded checkpoint via Hydra CLI overrides:
|
| 89 |
+
```bash
|
| 90 |
+
python test.py \
|
| 91 |
+
model.ckpt_path=/path/to/your/ReTrack-WebVid-Frame1.ckpt \
|
| 92 |
+
+test=webvid-covr
|
| 93 |
+
```
|
| 94 |
+
*(Refer to the `configs/` directory in the code repository for advanced hyperparameter and path adjustments)*.
|
| 95 |
+
|
| 96 |
+
---
|
| 97 |
+
|
| 98 |
+
## ⚠️ Limitations & Notes
|
| 99 |
+
|
| 100 |
+
- **Configuration:** ReTrack is entirely managed by **Hydra** and **Lightning Fabric**. Make sure you are familiar with overriding configurations via the CLI or modifying the YAML files in the `configs/` directory.
|
| 101 |
+
- **Environment:** The project was specifically developed and evaluated on Python 3.8 and PyTorch 2.1.0; using drastically different versions may yield unexpected behaviors.
|
| 102 |
+
|
| 103 |
+
---
|
| 104 |
+
|
| 105 |
+
## 📝⭐️ Citation
|
| 106 |
+
|
| 107 |
+
If you find our framework, code, or these weights useful in your research, please consider leaving a **Star** ⭐️ on our GitHub repository and citing our AAAI 2026 paper:
|
| 108 |
+
|
| 109 |
+
```bibtex
|
| 110 |
+
@inproceedings{ReTrack,
|
| 111 |
+
title={ReTrack: Evidence Driven Dual Stream Directional Anchor Calibration Network for Composed Video Retrieval},
|
| 112 |
+
author={Li, Zixu and Hu, Yupeng and Chen, Zhiwei and Huang, Qinlei and Qiu, Guozhi and Fu, Zhiheng and Liu, Meng},
|
| 113 |
+
booktitle={Proceedings of the AAAI Conference on Artificial Intelligence},
|
| 114 |
+
year={2026}
|
| 115 |
+
}
|
| 116 |
+
```
|