Baby Cry Sound Detection — CNN Benchmark Study
First-author, peer-reviewed study (JEEEMI, Sinta 2): benchmarked six CNN architectures over Mel-spectrogram images across two infant-cry datasets. AlexNet led at 84.78% — and the interesting result was why the deeper networks lost.
Infant cries carry intent — pain, hunger, discomfort, colic, fatigue — but the signal is short, the classes overlap acoustically, and recording conditions vary wildly. Prior work applied CNNs to cry audio without ever comparing architectures head-to-head on the same representation, so nobody knew whether depth actually helped. The datasets also carry severe class imbalance: in Donate-a-Cry, 382 of 457 recordings are a single class ('hungry'), which quietly inflates naive accuracy.
Built an end-to-end audio ML pipeline (raw audio → WAV → Mel-spectrogram image via Librosa → stratified 90/10 split) and trained six CNN architectures from scratch on identical splits: LeNet-5, AlexNet, VGG-16, VGG-19, ResNet-50, and ResNet-152 — nine variants in total including the V2 residual and grayscale/RGB versions. Every model used the same protocol (batch 8, 50 epochs, Adam @ 1e-4, ReLU, dropout 0.5) so the comparison isolated architecture rather than tuning. Evaluated on accuracy, precision, recall, and F1 via confusion matrices, and logged wall-clock training time to weigh accuracy against computational cost.
Audio → image → benchmark
The experiment turns a classification problem into an image problem: raw cry audio becomes a Mel-spectrogram, then six CNN architectures compete on identical splits under an identical training protocol — so the result measures architecture, not tuning luck.
Datasets
2 sources · 5 classes
- Donate-a-Cry457 clips · 7s WAV
- Dunstan Baby Language156 clips · 1–26s
- belly-pain · burping · discomfort · hungry · tiredimbalanced
Preprocessing
audio → tensor
- MP4/video → WAVsegment by label
- Mel-spectrogramLibrosa · FFT → Mel scale
- Resize per architecture32² · 227² · 224²
- Stratified split90 / 10
Architectures
9 variants trained from scratch
- LeNet-57 layers · RGB + grayscale
- AlexNet8 layers — best result
- VGG-1616 layers
- VGG-1919 layers
- ResNet-50 / V2residual
- ResNet-152 / V2152 layers
Training protocol
identical for every model
- batch = 8
- epochs = 50
- Adam · lr 1e-4
- ReLU
- dropout 0.5
Evaluation
beyond accuracy
- Confusion matrixTP / FP / FN / TN
- Precision · Recall · F1per class
- Training wall-clockaccuracy vs cost
- AlexNet 84.78% / 72.73%winner
- One protocol for every architecture — same split, same optimizer, same epochs — so the comparison isolates architecture rather than tuning effort.
- Stratified splitting preserves class distribution; with 382 of 457 clips in one class, a random split would quietly distort every metric.
- Accuracy alone is not the verdict: precision, recall, and F1 are reported per class because the datasets are imbalanced.
- Training time is treated as a first-class result — ResNet-152 cost ~12× AlexNet and still scored lower.
- Depth is not free. On small, imbalanced audio datasets the deeper networks overfit; the shallower AlexNet generalized better.
- 01First author of a peer-reviewed study in JEEEMI (Sinta 2), Vol. 6 No. 4 — international co-authors from Indonesia and Vietnam.
- 02Trained 9 CNN variants from scratch — full training loop, identical protocol across all models to make the comparison fair.
- 03AlexNet achieved the best accuracy (84.78% on Donate-a-Cry, 72.73% on Dunstan Baby Language), beating VGG-16/19 and both ResNets.
- 04Key finding: deeper is not better on small, imbalanced audio datasets — the 152-layer network cost 12× AlexNet's training time and still lost.
- 05Built a reproducible Librosa pipeline over two datasets (457 + 156 recordings, 5 cry classes) with stratified splitting to preserve class distribution.
- 06Reported precision/recall/F1 and per-model training time — not a single headline accuracy number.