ProgramComputer commited on
Commit
97239a5
·
verified ·
1 Parent(s): efdceb2

Document audited AVSpeech missing-media boundary

Browse files
Files changed (1) hide show
  1. README.md +129 -11
README.md CHANGED
@@ -10,22 +10,140 @@ configs:
10
 
11
  # AVSpeech Video + Audio
12
 
13
- A restructured subset of the [AVSpeech](https://looking-to-listen.github.io/avspeech/) dataset with separated media streams and derived identifiers.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
14
 
15
- - `clip_id`: unique identifier per clip, derived as `{youtube_id}_{start:.3f}_{end:.3f}` from the original AVSpeech CSV columns.
16
- - `avspeech_metadata`: JSON string with the original AVSpeech row fields (`youtube_id`, `start_sec`, `end_sec`, `x_center`, `y_center`).
17
- - `video`: video-only stream (no audio), stream-copied without re-encoding.
18
- - `audio`: audio-only stream, stream-copied without re-encoding.
19
-
20
  ## Citation
21
 
22
- If you use this dataset, please cite the original AVSpeech paper:
23
 
24
  ```bibtex
25
- @inproceedings{ephrat2018looking,
26
- title={Looking to listen at the cocktail party: A speaker-independent audio-visual model for speech separation},
27
- author={Ephrat, Ariel and Mosseri, Inbar and Lang, Oran and Dekel, Tali and Wilson, Kevin and Hassidim, Avinatan and Freeman, William T and Rubinstein, Michael},
28
- booktitle={ACM SIGGRAPH 2018},
29
  year={2018}
30
  }
31
  ```
 
 
 
 
10
 
11
  # AVSpeech Video + Audio
12
 
13
+ This repository is a media-bearing reconstruction of the public AVSpeech
14
+ annotations. Each row represents an already-trimmed segment and keeps the
15
+ original source-video timing and target-face-center metadata.
16
+
17
+ ## Dataset structure
18
+
19
+ - `clip_id`: identifier derived as
20
+ `{youtube_id}_{start_sec:.3f}_{end_sec:.3f}`.
21
+ - `avspeech_metadata`: JSON containing `youtube_id`, `start_sec`, `end_sec`,
22
+ `x_center`, and `y_center` from the AVSpeech annotation.
23
+ - `video`: video-only stream, or null when the source segment could not be
24
+ materialized.
25
+ - `audio`: audio-only stream, or null when the source segment could not be
26
+ materialized.
27
+
28
+ The `video` field is already trimmed. `start_sec` and `end_sec` refer to the
29
+ original YouTube-video timeline and must not be used to seek again within this
30
+ clip. AVSpeech defines `(x_center, y_center)` as the normalized center of the
31
+ speaker's face in the frame at the beginning of the segment, with `(0, 0)` at
32
+ the top left.
33
+
34
+ ## Audited snapshot and known publication gap
35
+
36
+ The following figures describe revision
37
+ `efdceb2a0b9d81a6aec76f10668cca49e8209e37`:
38
+
39
+ | Split | Rows | Rows with both media | Rows without both media | Parquet files | Encoded size |
40
+ | --- | ---: | ---: | ---: | ---: | ---: |
41
+ | train | 2,621,845 | 1,589,842 | 1,032,003 | 5,142 | 1,404,473,032,806 bytes |
42
+ | test | 183,273 | 98,605 | 84,668 | 359 | 88,861,772,006 bytes |
43
+ | total | 2,805,118 | 1,688,447 | 1,116,671 | 5,501 | 1,493,334,804,812 bytes |
44
+
45
+ The train states were verified by an exhaustive read-only scan of all 5,142
46
+ train Parquet files and 2,621,845 rows. Of the 1,032,003 train rows without both
47
+ media streams, 1,032,000 have both media null, 3 are video-only, and 0 are
48
+ audio-only. The test split was not audited at that row-state granularity, so
49
+ the table reports only its aggregate count without both streams.
50
+
51
+ The completed exporter expected 1,589,942 paired train occurrences, while this
52
+ snapshot contains 1,589,842, an aggregate gap of 100. Surviving non-media
53
+ evidence supports high-confidence assignment of 49 of those occurrence slots:
54
+
55
+ - 46 both-null occurrences have a paired sibling at the pinned revision.
56
+ - 3 video-only occurrences retain a published `video.path` while `audio.path`
57
+ is null, showing that the exporter reached archive-member processing.
58
+
59
+ The remaining 51 occurrence slots cannot be assigned to exact rows or
60
+ `clip_id` values without the original expected-pair manifest or historical
61
+ ID-to-archive map. Their ambiguity remains within a pool of 4,103
62
+ metadata-resolved both-null occurrences across 403 YouTube IDs. “Unresolved”
63
+ does not mean that these rows were verified unavailable.
64
+
65
+ The audit selected only `clip_id`, `avspeech_metadata`, `video.path`, and
66
+ `audio.path`. It did not select or materialize embedded media bytes, and its
67
+ range guards recorded zero intersections with media-byte column chunks. No
68
+ media recovery, YouTube retrieval, torrent-media transfer, row repair, or
69
+ Hugging Face mutation was attempted as part of that audit.
70
+
71
+ ## Bounded loading
72
+
73
+ Do not use `snapshot_download` for routine training: the repository is about
74
+ 1.49 TB. Stream rows, keep media decoding disabled at the dataset layer, skip
75
+ any row without both media streams, and materialize only one bounded work unit
76
+ at a time. Preserve the official split and stable row provenance, and report
77
+ pre-filter and retained denominators plus exclusions by reason.
78
+
79
+ ```python
80
+ from datasets import Audio, Video, load_dataset
81
+
82
+ revision = "efdceb2a0b9d81a6aec76f10668cca49e8209e37"
83
+ rows = load_dataset(
84
+ "ProgramComputer/avspeech-visual-audio",
85
+ split="train",
86
+ revision=revision,
87
+ streaming=True,
88
+ )
89
+ rows = rows.cast_column("video", Video(decode=False))
90
+ rows = rows.cast_column("audio", Audio(decode=False))
91
+
92
+ for row in rows:
93
+ if row["video"] is None or row["audio"] is None:
94
+ continue
95
+ # Materialize/process this row in bounded temporary storage.
96
+ ```
97
+
98
+ The official AVSpeech page states that its supplied train and test annotations
99
+ use disjoint speakers. This reconstruction preserves those source split labels.
100
+ It does not add person identities, and a YouTube video ID must not be described
101
+ as a speaker identity.
102
+
103
+ ## Intended use and limitations
104
+
105
+ This dataset is intended for research on audio-visual speech and related
106
+ representation-learning tasks. It is derived from public Internet video and is
107
+ not demographically balanced. Availability, codecs, media quality, language,
108
+ pose, lighting, and annotation accuracy vary. Missing rows are not necessarily
109
+ random, so filtering to paired media may introduce additional selection bias.
110
+ The unresolved 51-slot publication gap is aggregate provenance information,
111
+ not a verified unavailable-row list, and must not be converted into invented
112
+ row-level labels.
113
+
114
+ The face-center coordinate is a point hint at the beginning of the segment,
115
+ not a bounding box, persistent track, verified identity label, or consent
116
+ signal. Downstream systems must validate the associated detected face and must
117
+ not use this dataset for identification, surveillance, or consequential
118
+ decisions.
119
+
120
+ ## License and provenance review
121
+
122
+ The official AVSpeech download page provides train/test annotation CSVs and
123
+ states that “this data” is available under CC BY 4.0. This repository also
124
+ redistributes media derived from YouTube videos. The maintainer has not yet
125
+ documented a legal review establishing that the same license statement covers
126
+ redistribution of every embedded media stream or that all upstream platform
127
+ and uploader terms are satisfied. Therefore this card deliberately does not
128
+ assert a Hugging Face `license` tag for the media-bearing reconstruction.
129
+
130
+ Before continued public redistribution, document the source acquisition
131
+ process, takedown procedure, upstream terms, and the basis for redistributing
132
+ the embedded audio/video. This note is a publication safeguard, not legal
133
+ advice.
134
 
 
 
 
 
 
135
  ## Citation
136
 
137
+ If you use the data, cite the original AVSpeech work:
138
 
139
  ```bibtex
140
+ @article{ephrat2018looking,
141
+ title={Looking to Listen at the Cocktail Party: A Speaker-Independent Audio-Visual Model for Speech Separation},
142
+ author={Ephrat, Ariel and Mosseri, Inbar and Lang, Oran and Dekel, Tali and Wilson, Kevin and Hassidim, Avinatan and Freeman, William T. and Rubinstein, Michael},
143
+ journal={ACM Transactions on Graphics},
144
  year={2018}
145
  }
146
  ```
147
+
148
+ Official AVSpeech project and download page:
149
+ <https://looking-to-listen.github.io/avspeech/download.html>.