Polish model card
Browse files
README.md
CHANGED
|
@@ -9,57 +9,85 @@ tags:
|
|
| 9 |
- missing-modalities
|
| 10 |
---
|
| 11 |
|
| 12 |
-
|
| 13 |
|
| 14 |
-
|
| 15 |
-
**Linking Modalities, Learning Across Samples: Hypergraph Fusion for Multimodal Retrieval**
|
| 16 |
-
by Anindya Nag, Ambuj Mehrish and Sebastiano Vascon.
|
| 17 |
|
| 18 |
-
|
| 19 |
-
into a general training-time hypergraph fusion framework. Observed modalities (video, audio,
|
| 20 |
-
subtitles) are vertices, and caption-guided mutual top-k neighbourhoods connect related
|
| 21 |
-
training clips, so a clip can draw on evidence that related clips have observed.
|
| 22 |
-
Two new configurations are released here:
|
| 23 |
|
| 24 |
-
|
| 25 |
-
caption affinity for each pair of related clips, with additive hypergraph propagation.
|
| 26 |
-
- **wRHG** (weighted relational hypergraph): keeps both weights and replaces untyped links
|
| 27 |
-
with typed relations (document, same-modality, cross-modality and joint-candidate
|
| 28 |
-
hyperedges), with relation-conditioned message passing.
|
| 29 |
|
| 30 |
-
|
| 31 |
-
training, so the backbone, scoring function and inference cost are unchanged.
|
| 32 |
|
| 33 |
-
|
|
|
|
|
|
|
|
|
|
| 34 |
|
| 35 |
-
|
| 36 |
-
|---|---|
|
| 37 |
-
| `wHyVol/GRAM_wHyVol/wHyVol_GRAM.pt` | GRAM + wHyVol |
|
| 38 |
-
| `wHyVol/HyperGRAM_wHyVol/wHyVol_HyperGRAM.pt` | HyperGRAM + wHyVol |
|
| 39 |
-
| `wRHG/GRAM_wRHG/wRHG_GRAM.pt` | GRAM + wRHG |
|
| 40 |
-
| `wRHG/HyperGRAM_wRHG/wRHG_HyperGRAM.pt` | HyperGRAM + wRHG |
|
| 41 |
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 47 |
|
| 48 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 49 |
|
| 50 |
-
|
| 51 |
-
VATEX, Shot2Story, MSVD, FLARE, VALOR-32K) and three text-audio (AudioCaps, Clotho, SoundDescs).
|
| 52 |
|
| 53 |
-
|
|
| 54 |
|---|---|---|
|
| 55 |
-
|
|
| 56 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 57 |
|
| 58 |
-
With GRAM, wRHG improves all
|
| 59 |
-
With HyperGRAM, it improves
|
| 60 |
-
+13.3 R@1 on ActivityNet.
|
| 61 |
|
| 62 |
-
## Citation
|
| 63 |
|
| 64 |
If you use these weights, please cite:
|
| 65 |
|
|
|
|
| 9 |
- missing-modalities
|
| 10 |
---
|
| 11 |
|
| 12 |
+
<div align="center">
|
| 13 |
|
| 14 |
+
# HyVol++
|
|
|
|
|
|
|
| 15 |
|
| 16 |
+
### Hypergraph Fusion for Multimodal Retrieval
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
|
| 18 |
+
**Anindya Nag · Ambuj Mehrish · Sebastiano Vascon**
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
|
| 20 |
+
Ca' Foscari University of Venice
|
|
|
|
| 21 |
|
| 22 |
+
[](https://arxiv.org/abs/2609.15320)
|
| 23 |
+
[](https://github.com/CVML-CFU/HyVol)
|
| 24 |
+
[](https://huggingface.co/CVML-CFU/HyVol)
|
| 25 |
+
[](https://creativecommons.org/licenses/by/4.0/)
|
| 26 |
|
| 27 |
+
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 28 |
|
| 29 |
+
---
|
| 30 |
+
|
| 31 |
+
Pretrained weights for **Linking Modalities, Learning Across Samples: Hypergraph Fusion for Multimodal Retrieval**.
|
| 32 |
+
|
| 33 |
+
HyVol++ turns [HyVol](https://huggingface.co/CVML-CFU/HyVol) into a general **training-time hypergraph fusion** framework.
|
| 34 |
+
Observed modalities (video, audio, subtitles) are vertices, and caption-guided mutual top-k
|
| 35 |
+
neighbourhoods connect related training clips, so a clip can draw on evidence that related
|
| 36 |
+
clips have observed. The hypergraph is **discarded after training**, so the backbone,
|
| 37 |
+
scoring function and inference cost stay exactly the same.
|
| 38 |
+
|
| 39 |
+
## ✨ Two new configurations
|
| 40 |
|
| 41 |
+
| | What it learns | Propagation |
|
| 42 |
+
|---|---|---|
|
| 43 |
+
| **wHyVol** (weighted HyVol) | a reliability weight per view + a symmetric caption affinity per pair of related clips | additive |
|
| 44 |
+
| **wRHG** (weighted relational hypergraph) | both weights + typed relations: document, same-modality, cross-modality and joint-candidate hyperedges | relation-conditioned, multiplicative |
|
| 45 |
+
|
| 46 |
+
Missing modalities get no vertex: they are **omitted, not imputed**.
|
| 47 |
|
| 48 |
+
## 📦 Checkpoints
|
|
|
|
| 49 |
|
| 50 |
+
| Model | Backbone | File |
|
| 51 |
|---|---|---|
|
| 52 |
+
| wHyVol | GRAM | [`wHyVol/GRAM_wHyVol/wHyVol_GRAM.pt`](wHyVol/GRAM_wHyVol/wHyVol_GRAM.pt) |
|
| 53 |
+
| wHyVol | HyperGRAM | [`wHyVol/HyperGRAM_wHyVol/wHyVol_HyperGRAM.pt`](wHyVol/HyperGRAM_wHyVol/wHyVol_HyperGRAM.pt) |
|
| 54 |
+
| wRHG | GRAM | [`wRHG/GRAM_wRHG/wRHG_GRAM.pt`](wRHG/GRAM_wRHG/wRHG_GRAM.pt) |
|
| 55 |
+
| wRHG | HyperGRAM | [`wRHG/HyperGRAM_wRHG/wRHG_HyperGRAM.pt`](wRHG/HyperGRAM_wRHG/wRHG_HyperGRAM.pt) |
|
| 56 |
+
|
| 57 |
+
- **Initialisation:** VAST (EVA-CLIP ViT-g/14 vision, BEATs audio, BERT-base text)
|
| 58 |
+
- **Training data:** one epoch on the 150K-clip subset of VAST-27M (136,694 clips recovered with video and audio)
|
| 59 |
+
- **Checkpoint selection:** best text-to-video R@1 of the matching (ITM) score on MSR-VTT 1k, T-VAS
|
| 60 |
+
|
| 61 |
+
## 🚀 Usage
|
| 62 |
+
|
| 63 |
+
```python
|
| 64 |
+
from huggingface_hub import hf_hub_download
|
| 65 |
+
|
| 66 |
+
ckpt = hf_hub_download(
|
| 67 |
+
repo_id="CVML-CFU/HyVol-PlusPlus",
|
| 68 |
+
filename="wRHG/GRAM_wRHG/wRHG_GRAM.pt",
|
| 69 |
+
)
|
| 70 |
+
```
|
| 71 |
+
|
| 72 |
+
Load each checkpoint with the codebase of its backbone:
|
| 73 |
+
[GRAM](https://github.com/ispamm/GRAM) or [HyperGRAM](https://github.com/uta-smile/HyperGram).
|
| 74 |
+
No extra module is needed at test time.
|
| 75 |
+
|
| 76 |
+
## 📊 Results
|
| 77 |
+
|
| 78 |
+
Zero-shot on **eleven benchmarks**: eight text-video (MSR-VTT, DiDeMo, ActivityNet, VATEX,
|
| 79 |
+
Shot2Story, MSVD, FLARE, VALOR-32K) and three text-audio (AudioCaps, Clotho, SoundDescs).
|
| 80 |
+
|
| 81 |
+
| Backbone | Mean T2V R@1 (17 settings) | + wRHG | Gain |
|
| 82 |
+
|---|:---:|:---:|:---:|
|
| 83 |
+
| GRAM | 63.4 | **68.2** | +4.8 |
|
| 84 |
+
| HyperGRAM | 64.8 | **68.4** | +3.6 |
|
| 85 |
|
| 86 |
+
- With GRAM, wRHG improves **all 34** text-to-video and video-to-text settings.
|
| 87 |
+
- With HyperGRAM, it improves **33 of 34**.
|
| 88 |
+
- The largest video-to-text gain is **+13.3 R@1** on ActivityNet.
|
| 89 |
|
| 90 |
+
## 📝 Citation
|
| 91 |
|
| 92 |
If you use these weights, please cite:
|
| 93 |
|