zhihfu commited on
Commit
6993540
·
verified ·
1 Parent(s): 781f2f5

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +113 -3
README.md CHANGED
@@ -1,3 +1,113 @@
1
- ---
2
- license: apache-2.0
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
+ - icassp-2026
13
+ ---
14
+
15
+ <a id="top"></a>
16
+ <div align="center">
17
+ <h1>🎬 (ICASSP 2026) RELATE: Enhance Composed Video Retrieval via Minimal-Redundancy Hierarchical Collaboration (Model Weights)</h1>
18
+ <div>
19
+ Shiqi&#160;Zhang<sup>1</sup>,
20
+ <a target="_blank" href="https://zivchen-ty.github.io/">Zhiwei&#160;Chen</a><sup>1</sup>,
21
+ <a target="_blank" href="https://lee-zixu.github.io/">Zixu&#160;Li</a><sup>1</sup>,
22
+ <a target="_blank" href="https://zhihfu.github.io/">Zhiheng&#160;Fu</a><sup>1</sup>,
23
+ Wenbo&#160;Wang<sup>1</sup>,
24
+ Jiajia&#160;Nie<sup>1</sup>,
25
+ <a target="_blank" href="https://faculty.sdu.edu.cn/weiyinwei1/zh_CN/index.htm">Yinwei&#160;Wei</a><sup>1</sup>,
26
+ <a target="_blank" href="https://faculty.sdu.edu.cn/huyupeng1/zh_CN/index.htm">Yupeng&#160;Hu</a><sup>1&#9993</sup>
27
+ </div>
28
+ <sup>1</sup>School of Software, Shandong University &#160&#160&#160</span> <br>
29
+ <sup>&#9993&#160;</sup>Corresponding author&#160;&#160;</span>
30
+ <br/>
31
+ <p>
32
+ <a href="https://arxiv.org/abs/coming soon"><img alt='arXiv' src="https://img.shields.io/badge/arXiv-Coming.Soon-b31b1b.svg?style=flat-square"></a>
33
+ <a href="https://github.com/iLearn-Lab/ICASSP26-RELATE"><img alt='GitHub' src="https://img.shields.io/badge/GitHub-Repository-black?style=flat-square&logo=github"></a>
34
+ </p>
35
+ </div>
36
+
37
+ This repository hosts the official pre-trained model weights for **RELATE**, a minimal-redundancy hierarchical collaborative network designed to enhance both Composed Video Retrieval (CVR) and Composed Image Retrieval (CIR) tasks.
38
+
39
+
40
+ ---
41
+
42
+ ## 📌 Model Information
43
+
44
+ ### 1. Model Name
45
+ **RELATE** (Enhance Composed Video Retrieval via Minimal-Redundancy Hierarchical Collaboration) Checkpoints.
46
+
47
+ ### 2. Task Type & Applicable Tasks
48
+ - **Task Type:** Composed Video Retrieval (CVR) and Composed Image Retrieval (CIR).
49
+ - **Applicable Tasks:** Retrieving target videos or images based on a reference visual input and modification text. The model excels by addressing the neglect of the internal hierarchical structure of modification texts and the insufficient suppression of video temporal redundancy.
50
+
51
+ ### 3. Project Introduction
52
+ **RELATE** is an advanced open-source PyTorch framework built on top of BLIP-2. It achieves State-of-the-Art (SOTA) performance across major benchmarks through three key innovations:
53
+ - 🧩 **Hierarchical Query Generation:** Parses the internal hierarchical structure of the text to understand the roles of various parts of speech, using noun phrases for object-level features and the complete text for global semantics.
54
+ - ✂️ **Temporal Sparsification:** Adaptively attenuates redundant tokens corresponding to static backgrounds while amplifying critical dynamic information tokens.
55
+ - 🎯 **Modification-Driven Modulation Learning:** Leverages global semantics of the modification text to perform attention-based filtering on the sparsified visual features.
56
+
57
+ ### 4. Training Data Source & Hosted Weights
58
+ The RELATE framework seamlessly supports and is evaluated on standard video and image retrieval benchmarks. This repository provides pre-trained weights for the following datasets:
59
+ * **CVR:** WebVid-CoVR dataset.
60
+ * **CIR:** FashionIQ and CIRR datasets.
61
+
62
+ *(Note: Please download the respective `.ckpt` or `.pt` files hosted in the "Files and versions" tab of this Hugging Face repository).*
63
+
64
+ ---
65
+
66
+ ## 🚀 Usage & Basic Inference
67
+
68
+ These weights are designed to be evaluated using the official Hydra-configured [RELATE GitHub repository](https://github.com/iLearn-Lab/ICASSP26-RELATE).
69
+
70
+ ### Step 1: Prepare the Environment
71
+ We recommend using Anaconda to manage your environment. Clone the repository and install the required dependencies:
72
+ ```bash
73
+ git clone https://github.com/iLearn-Lab/ICASSP26-RELATE
74
+ cd RELATE
75
+ conda create -n relate python=3.8 -y
76
+ conda activate relate
77
+ conda install pytorch torchvision torchaudio pytorch-cuda=11.8 -c pytorch -c nvidia
78
+ pip install -r requirements.txt
79
+ ```
80
+
81
+ ### Step 2: Download Model Weights
82
+ Download the required checkpoints from this repository and place them into your local workspace. Ensure your dataset paths are correctly configured in `configs/machine/default.yaml`.
83
+
84
+ ### Step 3: Run Evaluation
85
+ To evaluate a trained model, use `test.py` and specify the target benchmark and your checkpoint path via Hydra overrides:
86
+ ```bash
87
+ python test.py \
88
+ model.ckpt_path=/path/to/your/downloaded_checkpoint.ckpt \
89
+ +test=webvid-covr # or fashioniq / cirr-all
90
+ ```
91
+
92
+ ---
93
+
94
+ ## ⚠️ Limitations & Notes
95
+
96
+ - **Configuration:** The entire framework is managed by **Hydra** and **Lightning Fabric**. Ensure you adjust hyperparameter overrides or modify the YAML files in the `configs/` directory to suit your specific local setup.
97
+ - **Environment Dependency:** This project was developed and extensively tested with Python 3.8 and PyTorch 2.1.0.
98
+
99
+ ---
100
+
101
+ ## 📝⭐️ Citation
102
+
103
+ 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 ICASSP 2026 paper:
104
+
105
+ ```bibtex
106
+ @inproceedings{RELATE,
107
+ title={RELATE: Enhance Composed Video Retrieval via Minimal-Redundancy Hierarchical Collaboration},
108
+ author={Zhang, Shiqi and Chen, Zhiwei and Li, Zixu and Fu, Zhiheng and Wang, Wenbo and Nie, Jiajia and Wei, Yinwei and Hu, Yupeng},
109
+ booktitle={Proceedings of the IEEE International Conference on Acoustics, Speech and Signal Processing},
110
+ year={2026}
111
+ }
112
+ ```
113
+ ```