A model that hears where the audio breaks
Speech quality is usually boiled down to one number. Together with David Lindahl I trained an audio language model to also say what is wrong, and when in the clip it happens.
my roleBachelor project written with David Lindahl at DTU, submitted in 2026.
- the problem
- Speech quality is usually measured as one number that says neither what is wrong nor when.
- what I built
- A fine-tuned audio language model that gives a score, a description of the fault and when it happens.
- status now
- Bachelor project submitted in 2026.
- result
- Grade 12. Score error 0.193 (MSE), on par with the paper we reproduced. Overlap with the true time interval 0.883.
- 01
From one number to three answers
A score says the audio is bad. It does not say whether it is noise, distortion or dropouts, or where. The model gives all three.
score2.4out of 5description“Clear distortion and noise in the middle of the clip”
when2.1 to 3.4 s» The degradation in the clip is between 2.1 and 3.4 and has … «example of an answer. The model answers in English, like the line above
- 02
The answer key from the start
To measure whether the model gets it right, you have to know the answer. So we built the clips ourselves: a damaged segment is inserted into a clean signal, and then we know the interval.
- 03
Training beats size
Without training even large models are far off. After fine-tuning our model is on par with the paper we reproduced, and below their regressors.
- 04
A cliff in the data
With up to 5,105 clips the model guessed the same interval every time. Only with the full dataset did it learn to listen for where the fault is.
overlap with the true interval (mIoU)
0.095000.151,0000.112,5000.185,1050.8813,495number of training clips
- 05
Order matters
If the model writes the timestamp before the description, it collapses. At the end of the answer it works, and special time tokens make it more precise.
- 06
What did not work
The extra alignment step, ALLD, gave only a small gain on top of fine-tuning and did not help the temporal model. The descriptions are compared with generated references, not with people's own explanations. And the intervals are constructed, not faults from the real world.
learnedData and output format moved the needle more than a smarter training methodcaveatValid for a narrow, well-defined task