mobina1380 commited on
Commit
08f827c
Β·
verified Β·
1 Parent(s): 05e63d1

Redesign FaEmoSpoof dataset card

Browse files
Files changed (1) hide show
  1. README.md +399 -113
README.md CHANGED
@@ -11,6 +11,7 @@ tags:
11
  - persian
12
  - farsi
13
  - deepfake
 
14
  - speech-deepfake
15
  - synthetic-speech
16
  - voice-cloning
@@ -21,100 +22,250 @@ size_categories:
21
  - 1K<n<10K
22
  ---
23
 
24
- # FaEmoSpoof
25
 
26
- ## A Paired Persian Emotional Speech Deepfake Dataset
27
 
28
- FaEmoSpoof is a paired Persian emotional speech dataset designed for research on audio deepfake detection, synthetic speech detection, anti-spoofing, and emotion-aware speech forensics.
 
 
29
 
30
- Synthetic samples were generated using OmniVoice zero-shot voice cloning from Modified ShEMO utterances.
 
 
31
 
32
- ## Dataset Statistics
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
33
 
34
  | Property | Value |
35
  |---|---:|
36
- | Language | Persian (Farsi) |
37
- | Matched Real/Fake pairs | 2,848 |
38
- | Real utterances | 2,848 |
39
- | Synthetic utterances | 2,848 |
40
- | Total audio samples | 5,696 |
41
- | Speakers in paired subset | 82 |
42
- | Emotion categories | 6 |
43
- | Synthetic generator | OmniVoice |
44
-
45
- ## Emotion Distribution
46
-
47
- | Emotion | Matched pairs |
48
- |---|---:|
49
- | Anger | 1,024 |
50
- | Fear | 17 |
51
- | Happiness | 180 |
52
- | Neutral | 1,139 |
53
- | Sadness | 339 |
54
- | Surprise | 149 |
55
- | Total | 2,848 |
56
-
57
- ## Pair Construction Protocol
58
-
59
- For each synthetic utterance:
60
-
61
- - The real and synthetic samples use the same target transcript.
62
- - The speaker identity is matched.
63
- - The emotion label is matched.
64
- - Cloning references are selected from the same speaker.
65
- - Cloning references are selected from the same emotion.
66
- - The target utterance itself is excluded from its cloning reference.
67
-
68
- This produces controlled matched Real/Fake pairs.
69
-
70
- ## Dataset Structure
71
-
72
- audio/
73
- real/
74
- anger/
75
- fear/
76
- happiness/
77
- neutral/
78
- sadness/
79
- surprise/
80
- fake/
81
- anger/
82
- fear/
83
- happiness/
84
- neutral/
85
- sadness/
86
- surprise/
87
-
88
- metadata.csv
89
- pairs.csv
90
- manifests/paired_metadata.csv
91
-
92
- ## Metadata
93
-
94
- metadata.csv contains one row for every audio sample.
95
-
96
- Main fields:
97
-
98
- - file_name
99
- - pair_id
100
- - label
101
- - label_id
102
- - speaker_id
103
- - gender
104
- - emotion
105
- - transcript
106
- - generator
107
- - language
108
-
109
- pairs.csv contains one row for every matched Real/Fake pair.
110
-
111
- ## Loading the Dataset
112
-
113
- Install the library:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
114
 
115
  pip install datasets
116
 
117
- Then:
118
 
119
  from datasets import load_dataset
120
 
@@ -124,52 +275,187 @@ Then:
124
  )
125
 
126
  print(dataset)
127
- print(dataset[0])
128
 
129
- ## Intended Uses
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
130
 
131
- FaEmoSpoof can be used for:
132
 
133
- - Persian audio deepfake detection
134
- - Synthetic speech detection
135
- - Speech anti-spoofing
136
- - Emotion-aware deepfake analysis
137
- - Speaker-independent deepfake detection
138
- - Acoustic forensic analysis
139
- - Real/Fake paired speech comparison
140
- - Generator-specific artifact analysis
141
- - Robustness and generalization studies
142
 
143
- ## Important Limitations
144
 
145
- All synthetic samples in the current release were generated using OmniVoice.
 
 
 
 
 
 
 
 
146
 
147
- Models trained only on FaEmoSpoof may therefore learn generator-specific characteristics and should not automatically be interpreted as universal audio deepfake detectors.
 
148
 
149
- The emotion distribution is imbalanced. In particular, Fear contains only 17 matched pairs and should be interpreted cautiously in emotion-specific experiments.
150
 
151
- ## Recommended Evaluation
152
 
153
- For speaker-independent deepfake detection, speaker-disjoint evaluation is recommended.
154
 
155
- train speakers intersect test speakers = empty
 
 
 
 
 
 
 
 
 
 
156
 
157
- Random utterance-level splitting may introduce speaker leakage.
158
 
159
- ## Responsible Use
 
160
 
161
- FaEmoSpoof is intended for academic research, benchmarking, anti-spoofing, audio forensics, and responsible synthetic-speech analysis.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
162
 
163
- It should not be used for fraud, unauthorized impersonation, identity misuse, or deceptive voice cloning.
164
 
165
- ## Source Dataset
166
 
167
- The real speech samples originate from Modified ShEMO, which is based on the Persian Speech Emotion Detection Database (ShEMO).
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
168
 
169
- ## Citation
170
 
171
- A formal citation will be added with the associated FaEmoSpoof publication or technical report.
172
 
173
- ## Dataset Author
174
 
175
- Mobina Esmaeili
 
 
 
 
11
  - persian
12
  - farsi
13
  - deepfake
14
+ - audio-deepfake
15
  - speech-deepfake
16
  - synthetic-speech
17
  - voice-cloning
 
22
  - 1K<n<10K
23
  ---
24
 
25
+ # πŸŽ™οΈ FaEmoSpoof
26
 
27
+ ### A Paired Persian Emotional Speech Deepfake Dataset
28
 
29
+ **FaEmoSpoof** is a Persian speech dataset built for research on
30
+ **audio deepfake detection, synthetic speech analysis, anti-spoofing,
31
+ and emotion-aware speech forensics**.
32
 
33
+ The dataset contains carefully matched **Real / Fake speech pairs**.
34
+ Each synthetic utterance was generated using **OmniVoice zero-shot voice cloning**
35
+ while preserving the target speaker, transcript, and emotion label.
36
 
37
+ ---
38
+
39
+ ## ✨ Why FaEmoSpoof?
40
+
41
+ Most speech deepfake datasets focus primarily on the distinction between
42
+ real and synthetic speech.
43
+
44
+ FaEmoSpoof additionally provides **emotion-aware paired samples**, making it
45
+ possible to study whether synthetic-speech detection behaves differently
46
+ under different emotional conditions.
47
+
48
+ Each pair is designed to control several important variables:
49
+
50
+ | Real | Synthetic |
51
+ |---|---|
52
+ | Same speaker | Same speaker |
53
+ | Same transcript | Same transcript |
54
+ | Same emotion label | Same emotion label |
55
+ | Original recording | OmniVoice-generated speech |
56
+
57
+ This paired design enables more controlled analysis of synthetic speech
58
+ than comparing unrelated real and fake recordings.
59
+
60
+ ---
61
+
62
+ ## πŸ“Š Dataset at a Glance
63
 
64
  | Property | Value |
65
  |---|---:|
66
+ | Language | Persian / Farsi |
67
+ | Matched Real/Fake pairs | **2,848** |
68
+ | Real utterances | **2,848** |
69
+ | Synthetic utterances | **2,848** |
70
+ | Total audio samples | **5,696** |
71
+ | Speakers | **82** |
72
+ | Emotion categories | **6** |
73
+ | Synthetic generator | **OmniVoice** |
74
+
75
+ ---
76
+
77
+ ## 🎭 Emotion Distribution
78
+
79
+ | Emotion | Matched Pairs | Audio Samples |
80
+ |---|---:|---:|
81
+ | 😠 Anger | 1,024 | 2,048 |
82
+ | 😨 Fear | 17 | 34 |
83
+ | πŸ™‚ Happiness | 180 | 360 |
84
+ | 😐 Neutral | 1,139 | 2,278 |
85
+ | 😒 Sadness | 339 | 678 |
86
+ | 😲 Surprise | 149 | 298 |
87
+ | **Total** | **2,848** | **5,696** |
88
+
89
+ > **Note:** The emotion distribution is naturally imbalanced.
90
+ > Fear is particularly low-resource and should be interpreted cautiously
91
+ > in emotion-specific experiments.
92
+
93
+ ---
94
+
95
+ ## πŸ”— Matched Real / Fake Design
96
+
97
+ For every selected real utterance, a corresponding synthetic version was created.
98
+
99
+ The generation protocol follows these constraints:
100
+
101
+ - **same speaker identity**
102
+ - **same target transcript**
103
+ - **same emotion label**
104
+ - cloning references selected from the **same speaker**
105
+ - cloning references selected from the **same emotion**
106
+ - the target utterance itself is **excluded from the cloning reference**
107
+
108
+ In other words:
109
+
110
+ target utterance βˆ‰ cloning reference
111
+
112
+ This prevents the target recording from being directly reused during voice cloning
113
+ and creates controlled Real/Fake pairs.
114
+
115
+ ---
116
+
117
+ ## 🧠 What Can You Do With FaEmoSpoof?
118
+
119
+ FaEmoSpoof can support several research directions.
120
+
121
+ ### Deepfake Detection
122
+
123
+ Train systems to classify:
124
+
125
+ Audio β†’ Real / Fake
126
+
127
+ ---
128
+
129
+ ### Emotion-Aware Deepfake Analysis
130
+
131
+ Investigate whether synthetic speech detectability changes across:
132
+
133
+ Anger
134
+ Happiness
135
+ Neutral
136
+ Sadness
137
+ Surprise
138
+ Fear
139
+
140
+ ---
141
+
142
+ ### Acoustic Forensics
143
+
144
+ Because Real and Fake samples are matched, researchers can compare:
145
+
146
+ - spectral characteristics
147
+ - pitch and F0 behavior
148
+ - prosody
149
+ - temporal patterns
150
+ - frequency distribution
151
+ - synthetic speech artifacts
152
+ - representation-space differences
153
+
154
+ ---
155
+
156
+ ### Speaker-Independent Detection
157
+
158
+ The provided `speaker_id` field makes it possible to build experiments
159
+ with unseen speakers.
160
+
161
+ ---
162
+
163
+ ### Generator Artifact Analysis
164
+
165
+ All synthetic speech in the current version was produced using OmniVoice,
166
+ making FaEmoSpoof useful for studying generator-specific synthetic speech cues.
167
+
168
+ ---
169
+
170
+ ### Representation Learning
171
+
172
+ The dataset can also be used with speech encoders such as:
173
+
174
+ - WavLM
175
+ - wav2vec 2.0
176
+ - HuBERT
177
+ - Whisper embeddings
178
+ - ECAPA-TDNN
179
+ - custom acoustic representations
180
+
181
+ ---
182
+
183
+ ## πŸ“ Dataset Structure
184
+
185
+ FaEmoSpoof/
186
+ β”‚
187
+ β”œβ”€β”€ audio/
188
+ β”‚ β”‚
189
+ β”‚ β”œβ”€β”€ real/
190
+ β”‚ β”‚ β”œβ”€β”€ anger/
191
+ β”‚ β”‚ β”œβ”€β”€ fear/
192
+ β”‚ β”‚ β”œβ”€β”€ happiness/
193
+ β”‚ β”‚ β”œβ”€β”€ neutral/
194
+ β”‚ β”‚ β”œβ”€β”€ sadness/
195
+ β”‚ β”‚ └── surprise/
196
+ β”‚ β”‚
197
+ β”‚ └── fake/
198
+ β”‚ β”œβ”€β”€ anger/
199
+ β”‚ β”œβ”€β”€ fear/
200
+ β”‚ β”œβ”€β”€ happiness/
201
+ β”‚ β”œβ”€β”€ neutral/
202
+ β”‚ β”œβ”€β”€ sadness/
203
+ β”‚ └── surprise/
204
+ β”‚
205
+ β”œβ”€β”€ metadata.csv
206
+ β”œβ”€β”€ pairs.csv
207
+ β”‚
208
+ └── manifests/
209
+ └── paired_metadata.csv
210
+
211
+ ---
212
+
213
+ ## πŸ—‚οΈ Metadata
214
+
215
+ Two metadata views are provided.
216
+
217
+ ### `metadata.csv`
218
+
219
+ Contains **one row per audio sample**.
220
+
221
+ Total rows:
222
+
223
+ 5,696
224
+
225
+ Main columns:
226
+
227
+ | Column | Description |
228
+ |---|---|
229
+ | `file_name` | Relative path to audio |
230
+ | `pair_id` | Real/Fake pair identifier |
231
+ | `label` | `real` or `fake` |
232
+ | `label_id` | `0` for real, `1` for fake |
233
+ | `speaker_id` | Speaker identifier |
234
+ | `gender` | Speaker gender |
235
+ | `emotion` | Emotion category |
236
+ | `transcript` | Persian transcript |
237
+ | `generator` | Original or OmniVoice |
238
+ | `language` | `fa` |
239
+
240
+ ---
241
+
242
+ ### `pairs.csv`
243
+
244
+ Contains **one row per matched Real/Fake pair**.
245
+
246
+ Total rows:
247
+
248
+ 2,848
249
+
250
+ This file is particularly useful for direct paired analysis because it links
251
+ the original and synthetic versions of the same target utterance.
252
+
253
+ ---
254
+
255
+ ### `manifests/paired_metadata.csv`
256
+
257
+ Contains the detailed generation metadata used during construction of FaEmoSpoof,
258
+ including information related to the cloning reference and generation process.
259
+
260
+ ---
261
+
262
+ # πŸš€ Quick Start
263
+
264
+ ## Install
265
 
266
  pip install datasets
267
 
268
+ ## Load FaEmoSpoof
269
 
270
  from datasets import load_dataset
271
 
 
275
  )
276
 
277
  print(dataset)
 
278
 
279
+ Expected size:
280
+
281
+ 5696 samples
282
+
283
+ ---
284
+
285
+ ## πŸ” Inspect a Sample
286
+
287
+ sample = dataset[0]
288
+
289
+ print("Label:", sample["label"])
290
+ print("Emotion:", sample["emotion"])
291
+ print("Speaker:", sample["speaker_id"])
292
+ print("Transcript:", sample["transcript"])
293
+ print("Generator:", sample["generator"])
294
+
295
+ ---
296
+
297
+ ## 🎧 Get Only Fake Speech
298
+
299
+ fake = dataset.filter(
300
+ lambda x: x["label"] == "fake"
301
+ )
302
+
303
+ print(fake)
304
+
305
+ Expected number of samples:
306
+
307
+ 2848
308
+
309
+ ---
310
+
311
+ ## 🎭 Select an Emotion
312
+
313
+ For example, synthetic happiness samples:
314
+
315
+ happy_fake = dataset.filter(
316
+ lambda x:
317
+ x["label"] == "fake"
318
+ and x["emotion"] == "happiness"
319
+ )
320
+
321
+ print(happy_fake)
322
+
323
+ ---
324
+
325
+ ## πŸ”— Retrieve a Matched Real/Fake Pair
326
+
327
+ Every sample includes a `pair_id`.
328
+
329
+ pair_id = dataset[0]["pair_id"]
330
+
331
+ pair = dataset.filter(
332
+ lambda x: x["pair_id"] == pair_id
333
+ )
334
+
335
+ print(pair)
336
+
337
+ A valid pair contains:
338
+
339
+ 1 Real sample
340
+ 1 Fake sample
341
 
342
+ with the same target speaker, transcript, and emotion label.
343
 
344
+ ---
345
+
346
+ ## πŸ“ˆ Example Research Setup
 
 
 
 
 
 
347
 
348
+ A basic deepfake-detection pipeline can be built as:
349
 
350
+ Audio
351
+ ↓
352
+ Speech Encoder
353
+ ↓
354
+ Embedding
355
+ ↓
356
+ Classifier
357
+ ↓
358
+ Real / Fake
359
 
360
+ You can then group predictions by `emotion` to study whether detection
361
+ performance varies across emotional categories.
362
 
363
+ ---
364
 
365
+ ## πŸ§ͺ Example Research Questions
366
 
367
+ FaEmoSpoof can be used to investigate questions such as:
368
 
369
+ - How accurately can synthetic Persian speech be detected?
370
+ - Does emotional expression influence deepfake detectability?
371
+ - Are some emotions harder to detect than others?
372
+ - Do synthetic speech artifacts remain stable across emotions?
373
+ - How well do detectors generalize to unseen speakers?
374
+ - Which acoustic properties distinguish Real and Fake Persian speech?
375
+ - Does a detector learn general synthetic-speech characteristics or
376
+ generator-specific OmniVoice artifacts?
377
+ - How do Real and Fake representations differ in pretrained speech models?
378
+
379
+ ---
380
 
381
+ ## βš™οΈ Synthetic Speech Generation
382
 
383
+ Synthetic utterances in the current release were produced using
384
+ **OmniVoice zero-shot voice cloning**.
385
 
386
+ For each target utterance:
387
+
388
+ Real target utterance
389
+ ↓
390
+ Select other utterances
391
+ from same speaker + emotion
392
+ ↓
393
+ Exclude target utterance
394
+ ↓
395
+ Build voice-cloning reference
396
+ ↓
397
+ Use original target transcript
398
+ ↓
399
+ OmniVoice
400
+ ↓
401
+ Synthetic paired utterance
402
+
403
+ This process results in a synthetic version associated with the original
404
+ speaker, transcript, and emotion category.
405
+
406
+ ---
407
 
408
+ ## ⚠️ Current Release Limitations
409
 
410
+ ### Single Generator
411
 
412
+ The current version contains synthetic speech generated only by **OmniVoice**.
413
+
414
+ As a result, models trained exclusively on FaEmoSpoof may learn
415
+ OmniVoice-specific artifacts rather than universal deepfake characteristics.
416
+
417
+ Future versions may extend the benchmark with additional synthesis systems.
418
+
419
+ ### Emotion Imbalance
420
+
421
+ The emotion distribution is not balanced.
422
+
423
+ In particular:
424
+
425
+ Fear = 17 matched pairs
426
+
427
+ Therefore, conclusions involving Fear should be made cautiously.
428
+
429
+ ### Emotion Preservation
430
+
431
+ The synthetic sample inherits the emotion label of its target utterance
432
+ and cloning references are selected from the same emotional category.
433
+
434
+ However, perfect perceptual preservation of emotion in every generated sample
435
+ should not be assumed without additional emotion-validation experiments.
436
+
437
+ ---
438
+
439
+ ## 🌱 Dataset Roadmap
440
+
441
+ Possible future extensions of FaEmoSpoof include:
442
+
443
+ - additional voice-cloning generators
444
+ - cross-generator evaluation
445
+ - more balanced emotional subsets
446
+ - emotion-preservation validation
447
+ - standardized benchmark splits
448
+ - additional deepfake baselines
449
+
450
+ ---
451
 
452
+ ## πŸ“Œ Version
453
 
454
+ **FaEmoSpoof v1.0**
455
 
456
+ Current release:
457
 
458
+ 2,848 Real/Fake pairs
459
+ 5,696 total audio samples
460
+ 6 emotion categories
461
+ OmniVoice synthetic speech