task: add InsAVE-80K composed video retrieval - #5155
Open
myang333 wants to merge 1 commit into
Open
Conversation
Samoed
requested changes
Aug 12, 2026
Member
There was a problem hiding this comment.
You shoudn't add tests for tasks loading
| is_beta=True, | ||
| ) | ||
|
|
||
| def load_data(self, num_proc: int | None = None, **kwargs) -> None: |
Member
There was a problem hiding this comment.
This seems complicated. Can you reupload this task with fixed format? You can do this with task.push_dataset_to_hub
Comment on lines
+238
to
+272
| """Composed video+text retrieval derived from the InsAVE-80K evaluation split. | ||
|
|
||
| This is a **new MOEB retrieval construction**, not an official InstructAV2AV | ||
| benchmark. InstructAV2AV uses these 1,000 pairs to score *generation* quality | ||
| (FVD, FAD, PEAVS, Sync-C/D and similar); neither the paper nor the official code | ||
| defines or reports any retrieval evaluation. The retrieval framing, the candidate | ||
| pool and the relevance judgements below are introduced here and should not be | ||
| compared against numbers reported in the paper. | ||
|
|
||
| Construction, derived entirely from the pinned release: | ||
|
|
||
| * Queries are the 1,000 official pairs: the source clip plus the forward | ||
| `instruction`, kept verbatim (including the `<S>`/`<E>` speech markers and the | ||
| 13 rows whose instruction text contains upstream pipeline artefacts). | ||
| * The corpus is all 2,000 released evaluation clips, i.e. the complete media | ||
| contents of the eval shard. Nothing is added and nothing is dropped. | ||
| * A query's own source clip therefore stays in the pool as a hard negative and is | ||
| deliberately **not** excluded, following the `CIRRIT2IRetrieval` and | ||
| `FashionIQIT2IRetrieval` precedent. The instruction is what separates the edited | ||
| clip from the unedited one. | ||
| * Relevance is expanded over **exact byte identity only**. The split contains 60 | ||
| add/remove reverse couples, where one row's source *file* is byte-for-byte the | ||
| next row's target *file*, so the gold video is present in the corpus under two | ||
| ids. Both ids are marked relevant so a model is not penalised for returning the | ||
| identical bytes under the other name. This affects 120 of the 1,000 queries, | ||
| which carry 2 gold ids; the remaining 880 carry 1. Visual or semantic similarity | ||
| never qualifies -- only an identical SHA-256 digest does -- so a source clip can | ||
| never become relevant merely by resembling the target. | ||
|
|
||
| The closest upstream precedent for content-identity handling is `GreekCivicsQA` | ||
| and `XQuADRetrieval`, which hash document content to derive ids and thereby | ||
| collapse duplicates into a single document. That approach is not used here because | ||
| the corpus is meant to preserve every released file as its own candidate; qrel | ||
| expansion encodes the same fact without dropping ids. | ||
| """ |
Member
There was a problem hiding this comment.
Suggested change
| """Composed video+text retrieval derived from the InsAVE-80K evaluation split. | |
| This is a **new MOEB retrieval construction**, not an official InstructAV2AV | |
| benchmark. InstructAV2AV uses these 1,000 pairs to score *generation* quality | |
| (FVD, FAD, PEAVS, Sync-C/D and similar); neither the paper nor the official code | |
| defines or reports any retrieval evaluation. The retrieval framing, the candidate | |
| pool and the relevance judgements below are introduced here and should not be | |
| compared against numbers reported in the paper. | |
| Construction, derived entirely from the pinned release: | |
| * Queries are the 1,000 official pairs: the source clip plus the forward | |
| `instruction`, kept verbatim (including the `<S>`/`<E>` speech markers and the | |
| 13 rows whose instruction text contains upstream pipeline artefacts). | |
| * The corpus is all 2,000 released evaluation clips, i.e. the complete media | |
| contents of the eval shard. Nothing is added and nothing is dropped. | |
| * A query's own source clip therefore stays in the pool as a hard negative and is | |
| deliberately **not** excluded, following the `CIRRIT2IRetrieval` and | |
| `FashionIQIT2IRetrieval` precedent. The instruction is what separates the edited | |
| clip from the unedited one. | |
| * Relevance is expanded over **exact byte identity only**. The split contains 60 | |
| add/remove reverse couples, where one row's source *file* is byte-for-byte the | |
| next row's target *file*, so the gold video is present in the corpus under two | |
| ids. Both ids are marked relevant so a model is not penalised for returning the | |
| identical bytes under the other name. This affects 120 of the 1,000 queries, | |
| which carry 2 gold ids; the remaining 880 carry 1. Visual or semantic similarity | |
| never qualifies -- only an identical SHA-256 digest does -- so a source clip can | |
| never become relevant merely by resembling the target. | |
| The closest upstream precedent for content-identity handling is `GreekCivicsQA` | |
| and `XQuADRetrieval`, which hash document content to derive ids and thereby | |
| collapse duplicates into a single document. That approach is not used here because | |
| the corpus is meant to preserve every released file as its own candidate; qrel | |
| expansion encodes the same fact without dropping ids. | |
| """ |
Contributor
|
@github-copilot review Please review this PR against the guidelines in |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
InsAVE80KVT2VRetrieval(vt2v, beta): query = source video + editing instruction → target video.Closes #5146
New MOEB construction, not an official benchmark
Derived from the official InstructAV2AV 1,000-pair generation-evaluation split. The paper (arXiv:2605.18467) scores generation quality there (FVD, FAD, PEAVS, Sync-C/D) and defines no retrieval evaluation and no reference scores — nothing here reproduces a published number.
Construction
instruction, verbatim (incl.<S>/<E>markers).CIRRIT2IRetrieval/FashionIQIT2IRetrieval. The instruction is what separates the edited clip from the unedited one.Data
Pinned revision
8ba8ccaad1d8f97b08e218dae1f2b439bd3d2289. Onlyeval.csvand the single 1.55 GB eval shard are downloaded; the 139 GB training data is never touched.KNOWN_ISSUES
The
duplicate_videoentry records an intrinsic property of the release: the 2,000 files hold 1,872 unique video contents. Not masked — the qrel rule means no model is penalised for returning identical bytes under the other id.License
not specified: the repo declares MIT, but clips derive from YouTube/MovieBench/Condensed Movies/VGGSound and the card disclaims underlying media rights, as for YouCook2/ActivityNetCaptions.Validation
mteb/baseline-random-encoder: ndcg@10 0.0029, R@1 0.0, R@1000 0.473 (≈ chance). Offline loader tests cover collision and schema guards.