anindyanag58 commited on
Commit
52affd3
·
verified ·
1 Parent(s): 392ca1b

Polish model card

Browse files
Files changed (1) hide show
  1. README.md +66 -38
README.md CHANGED
@@ -9,57 +9,85 @@ tags:
9
  - missing-modalities
10
  ---
11
 
12
- # HyVol++: Hypergraph Fusion for Multimodal Retrieval
13
 
14
- Pretrained weights for the paper
15
- **Linking Modalities, Learning Across Samples: Hypergraph Fusion for Multimodal Retrieval**
16
- by Anindya Nag, Ambuj Mehrish and Sebastiano Vascon.
17
 
18
- This work extends HyVol ([CVML-CFU/HyVol](https://huggingface.co/CVML-CFU/HyVol), WACV 2027)
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
- - **wHyVol** (weighted HyVol): a learned reliability weight for each view and a symmetric
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
- Missing modalities are omitted rather than imputed. The hypergraph is discarded after
31
- training, so the backbone, scoring function and inference cost are unchanged.
32
 
33
- ## Checkpoints
 
 
 
34
 
35
- | File | Backbone |
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
- All models are initialised from VAST and trained for one epoch on the 150K-clip subset
43
- of VAST-27M (136,694 clips recovered with both video and audio). The checkpoint is selected
44
- by text-to-video R@1 of the matching (ITM) score on MSR-VTT 1k in the T-VAS setting.
45
- Load each checkpoint with the codebase of its backbone
46
- ([GRAM](https://github.com/ispamm/GRAM) or [HyperGRAM](https://github.com/uta-smile/HyperGram)).
 
 
 
 
 
 
47
 
48
- ## Results
 
 
 
 
 
49
 
50
- Zero-shot evaluation on eleven benchmarks: eight text-video (MSR-VTT, DiDeMo, ActivityNet,
51
- VATEX, Shot2Story, MSVD, FLARE, VALOR-32K) and three text-audio (AudioCaps, Clotho, SoundDescs).
52
 
53
- | Backbone | Mean T2V R@1 (17 settings) | + wRHG |
54
  |---|---|---|
55
- | GRAM | 63.4 | 68.2 |
56
- | HyperGRAM | 64.8 | 68.4 |
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
57
 
58
- With GRAM, wRHG improves all 17 text-to-video and all 17 video-to-text settings.
59
- With HyperGRAM, it improves 16 of 17 and 17 of 17. The largest video-to-text gain is
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
+ [![HyVol](https://img.shields.io/badge/WACV%202027-HyVol-blue)](https://arxiv.org/abs/2609.15320)
23
+ [![Code](https://img.shields.io/badge/GitHub-HyVol-black?logo=github)](https://github.com/CVML-CFU/HyVol)
24
+ [![HyVol weights](https://img.shields.io/badge/%F0%9F%A4%97%20Weights-HyVol-yellow)](https://huggingface.co/CVML-CFU/HyVol)
25
+ [![License](https://img.shields.io/badge/License-CC%20BY%204.0-lightgrey)](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