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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
language:
|
| 4 |
- en
|
| 5 |
---
|
| 6 |
+
# LibriPara
|
| 7 |
+
|
| 8 |
+
## Overview
|
| 9 |
+
|
| 10 |
+
**LibriPara** is an audio dataset designed for research on **speaker-aware paralinguistic event detection** and **unified audio event detection**.
|
| 11 |
+
|
| 12 |
+
It is associated with the paper:
|
| 13 |
+
|
| 14 |
+
> **SA-UAED: Joint Frame-Level Detection of Audio Events, Speaker Activities, and Speaker-Attributed Paralinguistic Events**
|
| 15 |
+
> Interspeech 2026.
|
| 16 |
+
|
| 17 |
+
The dataset is intended to support joint modeling of:
|
| 18 |
+
|
| 19 |
+
- audio events,
|
| 20 |
+
- speaker activities,
|
| 21 |
+
- speaker-attributed paralinguistic events,
|
| 22 |
+
- frame-level temporal localization.
|
| 23 |
+
|
| 24 |
+
Each sample is accompanied by the corresponding annotations and conversation-level metadata.
|
| 25 |
+
|
| 26 |
+
---
|
| 27 |
+
|
| 28 |
+
## Dataset Scale
|
| 29 |
+
|
| 30 |
+
| Split | Duration |
|
| 31 |
+
| ---------- | ------------: |
|
| 32 |
+
| Train | **500 hours** |
|
| 33 |
+
| Validation | **5 hours** |
|
| 34 |
+
| Test | **5 hours** |
|
| 35 |
+
| **Total** | **510 hours** |
|
| 36 |
+
|
| 37 |
+
---
|
| 38 |
+
|
| 39 |
+
## Dataset Structure
|
| 40 |
+
|
| 41 |
+
The repository is organized approximately as follows:
|
| 42 |
+
|
| 43 |
+
```text
|
| 44 |
+
Libripara/
|
| 45 |
+
├── train/
|
| 46 |
+
│ ├── audio/
|
| 47 |
+
│ │ ├── 00000/
|
| 48 |
+
│ │ ├── 00001/
|
| 49 |
+
│ │ ├── ...
|
| 50 |
+
│ │ └── 000xx/
|
| 51 |
+
│ ├── labels/
|
| 52 |
+
│ │ ├── 00000/
|
| 53 |
+
│ │ ├── 00001/
|
| 54 |
+
│ │ ├── ...
|
| 55 |
+
│ │ └── 000xx/
|
| 56 |
+
│ └── conversations/
|
| 57 |
+
│ ├── 00000/
|
| 58 |
+
│ ├── 00001/
|
| 59 |
+
│ ├── ...
|
| 60 |
+
│ └── 000xx/
|
| 61 |
+
├── val/
|
| 62 |
+
│ ├── audio/
|
| 63 |
+
│ ├── labels/
|
| 64 |
+
│ └── conversations/
|
| 65 |
+
└── test/
|
| 66 |
+
├── audio/
|
| 67 |
+
├── labels/
|
| 68 |
+
└── conversations/
|
| 69 |
+
```
|
| 70 |
+
|
| 71 |
+
To avoid storing too many files in a single directory, large subsets are divided into multiple shard directories such as:
|
| 72 |
+
|
| 73 |
+
```text
|
| 74 |
+
00000/
|
| 75 |
+
00001/
|
| 76 |
+
00002/
|
| 77 |
+
...
|
| 78 |
+
```
|
| 79 |
+
|
| 80 |
+
Files belonging to the same sample share the same file stem and are stored in the corresponding shard.
|
| 81 |
+
|
| 82 |
+
For example:
|
| 83 |
+
|
| 84 |
+
```text
|
| 85 |
+
train/audio/00003/example_001.wav
|
| 86 |
+
train/labels/00003/example_001.*
|
| 87 |
+
train/conversations/00003/example_001.*
|
| 88 |
+
```
|
| 89 |
+
|
| 90 |
+
These files correspond to the same sample.
|
| 91 |
+
|
| 92 |
+
---
|
| 93 |
+
|
| 94 |
+
## Tasks
|
| 95 |
+
|
| 96 |
+
LibriPara can be used for research on:
|
| 97 |
+
|
| 98 |
+
- Unified Audio Event Detection
|
| 99 |
+
- Sound Event Detection
|
| 100 |
+
- Speaker Activity Detection
|
| 101 |
+
- Speaker Diarization
|
| 102 |
+
- Speaker-Aware Paralinguistic Event Detection
|
| 103 |
+
- Non-Verbal Vocalization Detection
|
| 104 |
+
- Laughter and Cough Detection
|
| 105 |
+
- Frame-Level Audio Event Localization
|
| 106 |
+
- Multi-Task Speech and Audio Understanding
|
| 107 |
+
|
| 108 |
+
---
|
| 109 |
+
|
| 110 |
+
## Download
|
| 111 |
+
|
| 112 |
+
### Hugging Face CLI
|
| 113 |
+
|
| 114 |
+
Install the Hugging Face Hub client:
|
| 115 |
+
|
| 116 |
+
```bash
|
| 117 |
+
pip install -U huggingface_hub
|
| 118 |
+
```
|
| 119 |
+
|
| 120 |
+
Then download the full dataset:
|
| 121 |
+
|
| 122 |
+
```bash
|
| 123 |
+
hf download originalover/Libripara \
|
| 124 |
+
--repo-type dataset \
|
| 125 |
+
--local-dir ./Libripara
|
| 126 |
+
```
|
| 127 |
+
|
| 128 |
+
The dataset will be saved to:
|
| 129 |
+
|
| 130 |
+
```text
|
| 131 |
+
./Libripara
|
| 132 |
+
```
|
| 133 |
+
|
| 134 |
+
### Python
|
| 135 |
+
|
| 136 |
+
You can also download the dataset using `huggingface_hub`:
|
| 137 |
+
|
| 138 |
+
```python
|
| 139 |
+
from huggingface_hub import snapshot_download
|
| 140 |
+
|
| 141 |
+
snapshot_download(
|
| 142 |
+
repo_id="originalover/Libripara",
|
| 143 |
+
repo_type="dataset",
|
| 144 |
+
local_dir="./Libripara",
|
| 145 |
+
)
|
| 146 |
+
```
|
| 147 |
+
|
| 148 |
+
---
|
| 149 |
+
|
| 150 |
+
## Reading the Dataset
|
| 151 |
+
|
| 152 |
+
Because the training data are stored in multiple shard directories, recursive file traversal is recommended.
|
| 153 |
+
|
| 154 |
+
```python
|
| 155 |
+
from pathlib import Path
|
| 156 |
+
|
| 157 |
+
root = Path("./Libripara")
|
| 158 |
+
audio_root = root / "train" / "audio"
|
| 159 |
+
|
| 160 |
+
audio_files = sorted(audio_root.rglob("*.wav"))
|
| 161 |
+
|
| 162 |
+
print(f"Number of training audio files: {len(audio_files)}")
|
| 163 |
+
|
| 164 |
+
for wav_path in audio_files[:5]:
|
| 165 |
+
print(wav_path)
|
| 166 |
+
```
|
| 167 |
+
|
| 168 |
+
To locate the corresponding label and conversation metadata:
|
| 169 |
+
|
| 170 |
+
```python
|
| 171 |
+
from pathlib import Path
|
| 172 |
+
|
| 173 |
+
root = Path("./Libripara")
|
| 174 |
+
|
| 175 |
+
audio_root = root / "train" / "audio"
|
| 176 |
+
label_root = root / "train" / "labels"
|
| 177 |
+
conversation_root = root / "train" / "conversations"
|
| 178 |
+
|
| 179 |
+
wav_path = next(audio_root.rglob("*.wav"))
|
| 180 |
+
|
| 181 |
+
relative_path = wav_path.relative_to(audio_root)
|
| 182 |
+
shard = relative_path.parent
|
| 183 |
+
sample_id = wav_path.stem
|
| 184 |
+
|
| 185 |
+
label_candidates = list(
|
| 186 |
+
(label_root / shard).glob(f"{sample_id}.*")
|
| 187 |
+
)
|
| 188 |
+
|
| 189 |
+
conversation_candidates = list(
|
| 190 |
+
(conversation_root / shard).glob(f"{sample_id}.*")
|
| 191 |
+
)
|
| 192 |
+
|
| 193 |
+
print("Audio:", wav_path)
|
| 194 |
+
print("Label:", label_candidates)
|
| 195 |
+
print("Conversation:", conversation_candidates)
|
| 196 |
+
```
|
| 197 |
+
|
| 198 |
+
The exact file extensions of labels and metadata depend on the released dataset version.
|
| 199 |
+
|
| 200 |
+
---
|
| 201 |
+
|
| 202 |
+
## Recommended Usage
|
| 203 |
+
|
| 204 |
+
When implementing a custom PyTorch `Dataset`, recursively search the audio directory instead of assuming that all audio files are directly stored under `train/audio/`.
|
| 205 |
+
|
| 206 |
+
```python
|
| 207 |
+
from pathlib import Path
|
| 208 |
+
|
| 209 |
+
self.audio_files = sorted(
|
| 210 |
+
Path("Libripara/train/audio").rglob("*.wav")
|
| 211 |
+
)
|
| 212 |
+
```
|
| 213 |
+
|
| 214 |
+
When locating the corresponding label and conversation metadata, preserve the same shard path.
|
| 215 |
+
|
| 216 |
+
---
|
| 217 |
+
|
| 218 |
+
## Citation
|
| 219 |
+
|
| 220 |
+
If you use **LibriPara** in your research, please cite the following paper:
|
| 221 |
+
|
| 222 |
+
```bibtex
|
| 223 |
+
@inproceedings{lan26_interspeech,
|
| 224 |
+
title = {{SA-UAED: Joint Frame-Level Detection of Audio Events, Speaker Activities, and Speaker-Attributed Paralinguistic Events}},
|
| 225 |
+
author = {Zekun Lan and Wangyou Zhang and Yanmin Qian},
|
| 226 |
+
year = {2026},
|
| 227 |
+
booktitle = {{Interspeech 2026}},
|
| 228 |
+
pages = {1406--1410},
|
| 229 |
+
doi = {10.21437/Interspeech.2026-2486},
|
| 230 |
+
issn = {2958-1796},
|
| 231 |
+
}
|
| 232 |
+
```
|
| 233 |
+
|
| 234 |
+
---
|
| 235 |
+
|
| 236 |
+
## License
|
| 237 |
+
|
| 238 |
+
Please refer to the licenses and terms of use of the original source datasets and resources used to construct LibriPara.
|
| 239 |
+
|
| 240 |
+
Users are responsible for ensuring that their use of this dataset complies with the corresponding licenses and terms.
|
| 241 |
+
|
| 242 |
+
---
|
| 243 |
+
|
| 244 |
+
## Repository
|
| 245 |
+
|
| 246 |
+
Hugging Face:
|
| 247 |
+
|
| 248 |
+
```text
|
| 249 |
+
https://huggingface.co/datasets/originalover/Libripara
|
| 250 |
+
```
|
| 251 |
+
|
| 252 |
+
For questions regarding the dataset, annotations, or benchmark settings, please open an issue in the Hugging Face dataset repository.
|