← all projectscarl s-sdaen

2026 · bachelor project, DTU

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.
12grade
0.193MOS error (MSE)
0.883overlap with the true interval
13,495training clips
  1. 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 5
    description

    “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

  2. 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.

    inserted segment, known start and end
  3. 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.

    error on the score, MSE, lower is better

    Qwen2-Audio without training1.491
    Gemini 3.1 Pro without training1.239
    Regressors in the paper0.23 to 0.27
    Our fine-tuned model0.193

    in-domain test set

  4. 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.09500
    0.151,000
    0.112,500
    0.185,105
    0.8813,495

    number of training clips

  5. 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.

    overlap with the true interval (mIoU)

    Time first, plain text0.043
    Time first, time tokens0.110
    Time last, plain text0.565
    Time last, time tokens0.883
  6. 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 method
    caveatValid for a narrow, well-defined task