What I learned from testing on the same children twice

At the Alabama Life Research Institute, I study how children use language. I was first author on a paper we submitted for peer review that looked at more than 60,000 child utterances.

Machine learning research · Alabama Life Research Institute
Tools: Python, Pandas, Whisper, FLAN-T5, PyTorch, CHILDES/CHAT, SLURM

Working with children’s speech

Children pause, repeat themselves, and start over. Speech recognition can miss words in those moments. I wanted to see whether a model could recover some of them by looking at several possible transcripts.

Putting the data together

I matched recordings to transcripts and kept track of which child was speaking. I sampled whole transcripts and capped how much each child could contribute so children with more recorded visits wouldn’t dominate the dataset. Each clip comes with its timestamps, child ID, and human transcript.

Giving the model several transcripts

I use Whisper to produce a first transcript and several alternatives. I remove duplicate versions and give FLAN-T5 the first transcript and up to four alternatives. A word that’s missing from the first version can show up in one of the others.

Finding overlap in the test set

Some early scores looked too good. I checked the splits and found recordings from the same child in training and testing. I now keep all recordings from each child together and test for overlap. The drop in word error rate from 17.2 to 14.4 came from the earlier 90,000-utterance experiment. I’d rerun it before reporting a score for children held out of training.

Keeping real repetitions

I also tried stripping repeated phrases from the model’s output. It made 61 predictions worse and 15 better, adding 96 word errors. I removed that step because some of those repetitions were things the children actually said.

Code and notes