HopChain v3.4: 7,900 verified multi-hop video questions (1080p captions, 397B gen)
Browse files- .gitattributes +1 -0
- README.md +156 -0
- captions/captions_1080p.jsonl +3 -0
- data/train-00000-of-00001.parquet +3 -0
.gitattributes
CHANGED
|
@@ -58,3 +58,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 58 |
# Video files - compressed
|
| 59 |
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 60 |
*.webm filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 58 |
# Video files - compressed
|
| 59 |
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 60 |
*.webm filter=lfs diff=lfs merge=lfs -text
|
| 61 |
+
captions/captions_1080p.jsonl filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
|
@@ -0,0 +1,156 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
task_categories:
|
| 4 |
+
- video-text-to-text
|
| 5 |
+
- question-answering
|
| 6 |
+
language:
|
| 7 |
+
- en
|
| 8 |
+
tags:
|
| 9 |
+
- video
|
| 10 |
+
- multi-hop-reasoning
|
| 11 |
+
- rlvr
|
| 12 |
+
- verifiable-rewards
|
| 13 |
+
- reinforcement-learning
|
| 14 |
+
size_categories:
|
| 15 |
+
- 1K<n<10K
|
| 16 |
+
configs:
|
| 17 |
+
- config_name: default
|
| 18 |
+
data_files:
|
| 19 |
+
- split: train
|
| 20 |
+
path: data/train-*.parquet
|
| 21 |
+
---
|
| 22 |
+
|
| 23 |
+
# HopChain v3.4 — multi-hop video reasoning with verifiable answers (1080p)
|
| 24 |
+
|
| 25 |
+
**7,900 multi-hop video questions** over **1,730 videos**, each with an **integer ground-truth answer**
|
| 26 |
+
that is checkable by rule (no LLM judge at train time). Built for **RLVR** training.
|
| 27 |
+
|
| 28 |
+
Each question chains several **conditional-predicate hops**. A hop observes one robust categorical fact
|
| 29 |
+
about a scene (existence / colour / category / action / setting) and a binary rule turns it into a number —
|
| 30 |
+
`if <fact> then A else B` — and the numbers are aggregated with `+ - *` into a single verifiable integer.
|
| 31 |
+
Because *which* branch fires is never stated, the question cannot be answered without watching the video.
|
| 32 |
+
|
| 33 |
+
---
|
| 34 |
+
|
| 35 |
+
## ⚠ Read this before using the data
|
| 36 |
+
|
| 37 |
+
**1. The corpus is a MIXED caption oracle.** 144 of 1,818 videos (7.9%) were captioned by
|
| 38 |
+
`Qwen3.5-122B-A10B`; the other 1,674 by `Qwen3.5-397B-A17B-FP8`. This was forced, not chosen: the 397B has
|
| 39 |
+
32 attention heads, so vLLM accepts only TP ∈ {2,4,8}, and at TP=4 its 406 GB of weights need 101.5 GB/GPU
|
| 40 |
+
— over an 80 GB card. One node in the cluster had 7 healthy GPUs and could not host it in any configuration.
|
| 41 |
+
**The captioner is stamped per video in `_caption_meta.model`** (see `captions/captions_1080p.jsonl`), so
|
| 42 |
+
the subset is identifiable. **Filter or audit it before any cross-video comparison.**
|
| 43 |
+
|
| 44 |
+
**2. Generation never sees a frame.** The caption is the pipeline's *only* ground truth. A caption that
|
| 45 |
+
fabricates poisons every question built on it. That is why resolution mattered so much (below) — but it also
|
| 46 |
+
means **residual caption errors are the dominant remaining source of label noise.**
|
| 47 |
+
|
| 48 |
+
**3. The graders were sampled (temperature 0.7), not greedy.** The keep/drop verdict is reproducible
|
| 49 |
+
(per-request seeds) but not deterministic-by-design.
|
| 50 |
+
|
| 51 |
+
---
|
| 52 |
+
|
| 53 |
+
## The headline finding: 360p was the ceiling, not the captioner
|
| 54 |
+
|
| 55 |
+
Earlier work on this corpus concluded that a 397B captioner *fabricated more on-screen text* than a smaller
|
| 56 |
+
122B. **That conclusion was an artifact of resolution.** At 640×360, distant signs, watermarks and brand
|
| 57 |
+
text are physically unresolvable — every model was guessing at a blur.
|
| 58 |
+
|
| 59 |
+
Clean A/B — **same model, same prompt, same segment boundaries; resolution the only variable** — on 9
|
| 60 |
+
concrete on-screen-text probes (word-boundary matched):
|
| 61 |
+
|
| 62 |
+
| Qwen3.5-397B-A17B-FP8 | reads correctly | **misreads** | stays silent |
|
| 63 |
+
|---|---|---|---|
|
| 64 |
+
| @ 360p | 1 | **6** | 2 |
|
| 65 |
+
| @ **1080p** | **4** | **1** | 4 |
|
| 66 |
+
|
| 67 |
+
Fixed by resolution alone: `Southern Miss` → **Southern Utah**; `Cornstock` → **Comstock**;
|
| 68 |
+
`SLOW AREA` → **REST AREA**. A fabricated `MIAMI` and a phantom HUD number `0397` both **vanish** — at 1080p
|
| 69 |
+
the model goes **silent** rather than inventing, which is the failure mode that actually matters.
|
| 70 |
+
|
| 71 |
+
---
|
| 72 |
+
|
| 73 |
+
## The metric this dataset optimises: `blind_solver_rate`
|
| 74 |
+
|
| 75 |
+
`blind_solver_rate` = accuracy of a solver that **never watches the video** and always takes the same
|
| 76 |
+
branch. It is the number to keep *low*.
|
| 77 |
+
|
| 78 |
+
| version | `then_rate` (healthy 0.35–0.65) | **`blind_solver_rate`** | keepers/video |
|
| 79 |
+
|---|---|---|---|
|
| 80 |
+
| v3.1 (360p) | 0.939 | **0.839** | 3.47 |
|
| 81 |
+
| v3.2 (360p) | 0.627 | **0.261** | 1.76 |
|
| 82 |
+
| **v3.4 (this release, 1080p)** | **0.507** | **0.133** | **4.47** |
|
| 83 |
+
|
| 84 |
+
`then_rate` 0.507 is a near-perfect 50/50 split (all-THEN 0.133 vs all-ELSE 0.126) → **no branch bias**.
|
| 85 |
+
|
| 86 |
+
**Answer diversity:** 964 distinct answers; the modal answer covers only ~1.3% of rows, so a
|
| 87 |
+
constant-guess baseline scores ~1.3%. The 13.3% blind-solver figure comes from *branch strategy*, not from
|
| 88 |
+
answers being guessable.
|
| 89 |
+
|
| 90 |
+
### ⚠ Do NOT credit resolution for the yield gains
|
| 91 |
+
|
| 92 |
+
Judge survival rose 30.8% → 59.6% between v3.2 and v3.4, but **six things changed** (caption source,
|
| 93 |
+
generator 122B→397B, 6→8 candidates/video, greedy→sampled decoding, a batched-rewrite refactor, corpus
|
| 94 |
+
size). Per-candidate drop rates:
|
| 95 |
+
|
| 96 |
+
| drop code | v3.2 (360p) | v3.4 (1080p) | Δ | mostly attributable to |
|
| 97 |
+
|---|---|---|---|---|
|
| 98 |
+
| `wrong_branch` | 52.7% | 23.4% | −29.4pp | generator strength + fix-loop |
|
| 99 |
+
| `answer_mismatch` | 54.6% | 25.4% | −29.2pp | generator strength + fix-loop |
|
| 100 |
+
| `not_stated` | 8.8% | 2.7% | −6.1pp | **caption fidelity** |
|
| 101 |
+
| `unfaithful_quote` | 18.0% | 15.0% | −3.1pp | **caption fidelity** |
|
| 102 |
+
| `attachment_error` | 0.3% | 1.5% | **+1.2pp** | ← counter-signal |
|
| 103 |
+
| **caption-fidelity codes combined** | 27.1% | **19.1%** | **−8.0pp** | **resolution** |
|
| 104 |
+
|
| 105 |
+
The headline −29pp is **generator strength, not resolution**. Resolution's isolated contribution is the
|
| 106 |
+
**−8.0pp** on caption-fidelity codes. `attachment_error` *rose*: richer captions describe more objects, so
|
| 107 |
+
there are more chances to mis-attach an attribute.
|
| 108 |
+
|
| 109 |
+
---
|
| 110 |
+
|
| 111 |
+
## Contents
|
| 112 |
+
|
| 113 |
+
| path | what |
|
| 114 |
+
|---|---|
|
| 115 |
+
| `data/train-*.parquet` | **7,900 keepers.** verl RLVR schema: `prompt`, `videos`, `reward_model` (`ground_truth`), `extra_info`, plus flattened `answer` and `video_id`. |
|
| 116 |
+
| `captions/captions_1080p.jsonl` | 1,818 videos × segment-level captions — **the oracle**. Carries `_caption_meta` (model, max_pixels, fps, max_frames), so the mixed-oracle subset is auditable. |
|
| 117 |
+
|
| 118 |
+
**Videos are not mirrored here.** They are already public at
|
| 119 |
+
[`Choiszt/video_res`](https://huggingface.co/datasets/Choiszt/video_res) under `videos_1080p/`. Join on
|
| 120 |
+
`video_id`.
|
| 121 |
+
|
| 122 |
+
## Integrity (verified, 300-video sample / 1,331 rows)
|
| 123 |
+
|
| 124 |
+
- ground truth empty: **0**
|
| 125 |
+
- ground truth is a plain integer: **100%** — the verifiable-answer invariant
|
| 126 |
+
- rows carrying a video reference: **100%**
|
| 127 |
+
|
| 128 |
+
## How it was built
|
| 129 |
+
|
| 130 |
+
`caption → gen → judge → too-easy`, on 8× DGX (H100-80GB).
|
| 131 |
+
|
| 132 |
+
| stage | model | detail |
|
| 133 |
+
|---|---|---|
|
| 134 |
+
| caption | `Qwen3.5-397B-A17B-FP8` (TP=8) + `Qwen3.5-122B-A10B` (TP=4, 144 videos) | native 1080p (`max_pixels=2073600`, nothing downscaled), `fps=1`, ≤24 frames/segment |
|
| 135 |
+
| gen + rewrite | `Qwen3.5-397B-A17B-FP8` | 8 candidates/video; rewrite assigns per-hop polarity, de-circularises scene refs, LLM fact-checks each condition against the caption |
|
| 136 |
+
| judge | `Qwen3.6-27B` | the only semantic gate — arithmetic is evaluated **in code**, never by the model, and the judge is never shown the target answer |
|
| 137 |
+
| too-easy | `Qwen3.5-9B` | solves each question 8× on the full video; drops it if solved every time |
|
| 138 |
+
|
| 139 |
+
**Funnel:** 1,818 videos → 13,938 candidates → 8,313 judge survivors (59.6%) → **7,900 keepers**.
|
| 140 |
+
51 videos (2.8%) yielded no candidates and are recorded, not silently dropped.
|
| 141 |
+
|
| 142 |
+
Sampling (Qwen recipe): `temperature=0.7, top_p=0.8, top_k=20, min_p=0.0, repetition_penalty=1.0`.
|
| 143 |
+
`presence_penalty` is **split by output type** — `1.5` on prose captions (it fixes runaway repetition),
|
| 144 |
+
`0.0` on every JSON stage (there it penalises re-emitting the very keys each hop requires, and malformed
|
| 145 |
+
JSON silently costs candidates).
|
| 146 |
+
|
| 147 |
+
## Known gaps
|
| 148 |
+
|
| 149 |
+
- 53 of the original 1,871 videos have no 1080p source → excluded (a 360p subset would reintroduce a
|
| 150 |
+
mixed-**resolution** oracle).
|
| 151 |
+
- 51 videos yielded 0 candidates (2.8%) — ordinary generation/parse misses, *not* context overflow
|
| 152 |
+
(verified: their caption-length distribution matches the successes).
|
| 153 |
+
|
| 154 |
+
## Citation
|
| 155 |
+
|
| 156 |
+
Derived from the video corpus of [`Choiszt/video_res`](https://huggingface.co/datasets/Choiszt/video_res).
|
captions/captions_1080p.jsonl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bd3eee61f8d6b5a294283e4c44acb07646754680a3c308a285d3a9a69299440a
|
| 3 |
+
size 115176476
|
data/train-00000-of-00001.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e3f55f949af9078244f1bca0de52a12efcb3bbfd629c652bd083b916540351f6
|
| 3 |
+
size 2272736
|