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data used by ALWM.
|
| 8 |
+
|
| 9 |
+
## Dataset statistics
|
| 10 |
+
|
| 11 |
+
<table>
|
| 12 |
+
<thead>
|
| 13 |
+
<tr>
|
| 14 |
+
<th rowspan="2">Dataset</th>
|
| 15 |
+
<th rowspan="2">Size</th>
|
| 16 |
+
<th colspan="2">Video</th>
|
| 17 |
+
<th colspan="2">Query</th>
|
| 18 |
+
<th colspan="4">Response</th>
|
| 19 |
+
</tr>
|
| 20 |
+
<tr>
|
| 21 |
+
<th>Obs.</th>
|
| 22 |
+
<th>Fut.</th>
|
| 23 |
+
<th>OEQ</th>
|
| 24 |
+
<th>MCQ</th>
|
| 25 |
+
<th>Observation</th>
|
| 26 |
+
<th>Reasoning</th>
|
| 27 |
+
<th>Prediction</th>
|
| 28 |
+
<th>Answer</th>
|
| 29 |
+
</tr>
|
| 30 |
+
</thead>
|
| 31 |
+
<tbody>
|
| 32 |
+
<tr>
|
| 33 |
+
<td>D1</td>
|
| 34 |
+
<td>42,673</td>
|
| 35 |
+
<td colspan="2">Unpartitioned</td>
|
| 36 |
+
<td>—</td>
|
| 37 |
+
<td>—</td>
|
| 38 |
+
<td colspan="4">Caption</td>
|
| 39 |
+
</tr>
|
| 40 |
+
<tr>
|
| 41 |
+
<td>D2</td>
|
| 42 |
+
<td>15,290</td>
|
| 43 |
+
<td>✓</td>
|
| 44 |
+
<td>✓</td>
|
| 45 |
+
<td>✓</td>
|
| 46 |
+
<td>—</td>
|
| 47 |
+
<td>✓</td>
|
| 48 |
+
<td>✓</td>
|
| 49 |
+
<td>✓</td>
|
| 50 |
+
<td>—</td>
|
| 51 |
+
</tr>
|
| 52 |
+
<tr>
|
| 53 |
+
<td>D3</td>
|
| 54 |
+
<td>2,885</td>
|
| 55 |
+
<td>✓</td>
|
| 56 |
+
<td>—</td>
|
| 57 |
+
<td>—</td>
|
| 58 |
+
<td>✓</td>
|
| 59 |
+
<td>✓</td>
|
| 60 |
+
<td>✓</td>
|
| 61 |
+
<td>✓</td>
|
| 62 |
+
<td>✓</td>
|
| 63 |
+
</tr>
|
| 64 |
+
</tbody>
|
| 65 |
+
</table>
|
| 66 |
+
|
| 67 |
+
Size is the number of samples. Obs. and Fut. denote observed and future video segments. OEQ and MCQ denote open-ended and multiple-choice questions. D1 video segments are not assigned observed or future roles; each response is a caption.
|
| 68 |
+
|
| 69 |
+
## Directory structure
|
| 70 |
+
|
| 71 |
+
```text
|
| 72 |
+
ALWM_data/
|
| 73 |
+
├── README.md
|
| 74 |
+
├── D1/
|
| 75 |
+
│ ├── D1_metadata.json
|
| 76 |
+
│ └── videos/
|
| 77 |
+
├── D2/
|
| 78 |
+
│ ├── D2_metadata.json
|
| 79 |
+
│ └── videos/
|
| 80 |
+
└── D3/
|
| 81 |
+
├── D3_metadata.json
|
| 82 |
+
└── videos/
|
| 83 |
+
```
|
| 84 |
+
|
| 85 |
+
| Dataset | Metadata | Videos |
|
| 86 |
+
| --- | --- | --- |
|
| 87 |
+
| D1 | `D1/D1_metadata.json` | `D1/videos/` |
|
| 88 |
+
| D2 | `D2/D2_metadata.json` | `D2/videos/` |
|
| 89 |
+
| D3 | `D3/D3_metadata.json` | `D3/videos/` |
|
| 90 |
+
|
| 91 |
+
## Metadata format
|
| 92 |
+
|
| 93 |
+
Each metadata file is a JSON object keyed by sample ID. Every entry contains only `video`, `query`, and `answer`.
|
| 94 |
+
|
| 95 |
+
| Field | Meaning |
|
| 96 |
+
| --- | --- |
|
| 97 |
+
| Sample ID (object key) | Unique identifier of the sample within the dataset. |
|
| 98 |
+
| `video` | Video path relative to the repository root. For D2, an object containing the `observation` and `future` video paths. |
|
| 99 |
+
| `query` | Question text. Empty for D1; an open-ended question for D2; a question with its choices for D3. |
|
| 100 |
+
| `answer` | Complete response as a single text string. Original text, tags, line breaks, and tag order are preserved; the response is not split into separate fields. |
|
| 101 |
+
|
| 102 |
+
The examples below illustrate the structure; ellipses stand for sample text.
|
| 103 |
+
|
| 104 |
+
### D1
|
| 105 |
+
|
| 106 |
+
`D1/D1_metadata.json` maps each sample ID to its video segment, an empty query, and a caption.
|
| 107 |
+
|
| 108 |
+
```json
|
| 109 |
+
{
|
| 110 |
+
"D1_example": {
|
| 111 |
+
"video": "D1/videos/D1_example.mp4",
|
| 112 |
+
"query": "",
|
| 113 |
+
"answer": "..."
|
| 114 |
+
}
|
| 115 |
+
}
|
| 116 |
+
```
|
| 117 |
+
|
| 118 |
+
### D2
|
| 119 |
+
|
| 120 |
+
`D2/D2_metadata.json` maps each sample ID to its observed and future video segments, an open-ended question, and the complete response text.
|
| 121 |
+
|
| 122 |
+
```json
|
| 123 |
+
{
|
| 124 |
+
"D2_example": {
|
| 125 |
+
"video": {
|
| 126 |
+
"observation": "D2/videos/D2_example_observation.mp4",
|
| 127 |
+
"future": "D2/videos/D2_example_future.mp4"
|
| 128 |
+
},
|
| 129 |
+
"query": "...",
|
| 130 |
+
"answer": "<observation>...</observation><reasoning>...</reasoning><prediction>...</prediction>"
|
| 131 |
+
}
|
| 132 |
+
}
|
| 133 |
+
```
|
| 134 |
+
|
| 135 |
+
### D3
|
| 136 |
+
|
| 137 |
+
`D3/D3_metadata.json` maps each sample ID to its observed video segment, a multiple-choice question including its choices, and the complete response text.
|
| 138 |
+
|
| 139 |
+
```json
|
| 140 |
+
{
|
| 141 |
+
"D3_example": {
|
| 142 |
+
"video": "D3/videos/D3_example.mp4",
|
| 143 |
+
"query": "...\nA. ...\nB. ...\nC. ...\nD. ...",
|
| 144 |
+
"answer": "<observation>...</observation><reasoning>...</reasoning><prediction>...</prediction><answer>...</answer>"
|
| 145 |
+
}
|
| 146 |
+
}
|
| 147 |
+
```
|