Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Evaluation in the product life-cycle

There is no single “right” way to evaluate a speech processing method. The best choice depends on where we are in the life-cycle of a product. Early in development, we need answers within minutes, so we accept tests that are rough and biased. Before a product goes to market, we need results that we can trust, so we accept tests that are slow and expensive. After the product is in use, we need to keep watching that it still works.

Evaluation therefore changes along the way, from fast, cheap and biased tests, to slow, costly tests that are close to real users. The figure and table below give an overview. The sections after them describe each stage. The overall workflow of a project is described in Design of experiments and projects. Here we focus on how evaluation changes between its stages.

Evaluation over the life-cycle of a product. The blue bars are gates: milestones where we decide whether to continue. The size of each dot shows the scale of the test, that is, the number of listeners or the amount of data.

Figure 1:Evaluation over the life-cycle of a product. The blue bars are gates: milestones where we decide whether to continue. The size of each dot shows the scale of the test, that is, the number of listeners or the amount of data.

StagePurposeSubjective evaluationObjective evaluationFeedback timeStatistics
Algorithm developmentFind what works, catch bugsInformal listening by the developer: 1 expert, few soundsMetrics on a development set: cheap and repeatable, but biasedMinutes to hoursPossible for metrics; none for listening
Gate: algorithm milestoneDecide whether the idea is worth pursuingSmall expert test (e.g. MUSHRA with about 6–10 colleagues), small set of soundsMetrics on a held-out test setDaysReasonable
Product developmentTrack progress, catch regressionsRarelyAutomatic periodic (e.g. nightly) testsOvernightConfidence tests recommended
Gate: product milestone (market, standard)Show quality to users or a standards bodyLarge test with naïve listeners (e.g. P.800), in a lab or crowdsourced; more soundsLarge-scale metricsWeeksEssential
Monitoring after deploymentCatch faults; follow changing user needsPeriodic tests, user feedbackContinuous or periodic small tests, often without a reference signalContinuousDetect trends and changes

Why have so many steps? Because a problem found late costs much more to fix than one found early. A bug caught by the developer’s own ears costs a few minutes. The same bug found in a large listening test costs weeks and the price of the test. Found by customers, it can cost the product. The cheap tests early on exist so that the expensive tests at the gates rarely fail.

Before development: set the requirements

Evaluation starts before the first line of code. When we specify a project, we should decide

Fixing these in advance avoids a common trap: once we see the results, it is tempting to pick the test or metric that makes our method look best. Deciding beforehand keeps the evaluation honest.

Algorithm development

While developing an algorithm, we need fast feedback, so that we can try an idea, see the result, and try again.

Gate: algorithm milestone

At the end of algorithm development, we decide whether the method is good enough to build a product on. The evidence should now be more reliable than one person’s opinion.

Product development

During product development, the algorithm is turned into a product: optimised, integrated with other parts, and ported to its target platform. The main risk is now that changes break something that used to work.

Gate: product milestone

Before the product goes to market, or before a method is accepted into a standard, we need the strongest evidence.

Monitoring after deployment

After the product is in use, evaluation continues.

Things to watch at every stage

Overfitting to the metric

If developers tune a method against one objective metric for months, the method can learn to please the metric instead of the listener. This is known as Goodhart’s law: when a measure becomes a target, it stops being a good measure Goodhart (1984)Strathern (1997). The same happens if a metric is used as the loss function when training a neural network. That metric can then no longer be used to evaluate the network.

To reduce this risk,

Check that metrics still agree with listeners

An objective metric is only useful if it agrees with what listeners hear. Metrics are designed and tested for certain types of distortion, and they can fail for others. For example, PESQ was not designed for distortions caused by processing in the spectral domain, and classical metrics can give misleading results for the sounds produced by neural codecs and generative models Manocha et al. (2022). At each gate, we should therefore use the results of the subjective test to check that the objective metrics still follow the listeners’ ratings.

Coverage of the test material

A test is only as good as the sounds that are in it. A method that works well for adult speakers of one language in a quiet room may fail for children, for other languages or accents, for unusual voices, or in noisy places. Larger tests, in particular at the product gate, should cover all the intended user groups and conditions of use. This is also a question of fairness: a product should work equally well for everyone who uses it. See also Speech data.

Other performance measures

Other performance measures, such as computational complexity, memory use and latency, follow the same path. During development, they are estimated, for example by counting operations (WMOPS). At the product gate, they are measured on the target hardware.

References
  1. Naderi, B., & Cutler, R. (2020). An Open Source Implementation of ITU-T Recommendation P.808 with Validation. Proc. Interspeech, 2862–2866. 10.21437/Interspeech.2020-2665
  2. Malfait, L., Berger, J., & Kastner, M. (2006). P.563—The ITU-T Standard for Single-Ended Speech Quality Assessment. IEEE Transactions on Audio, Speech, and Language Processing, 14(6), 1924–1934. 10.1109/TASL.2006.883177
  3. Reddy, C. K. A., Gopal, V., & Cutler, R. (2021). DNSMOS: A Non-Intrusive Perceptual Objective Speech Quality Metric to Evaluate Noise Suppressors. Proc. ICASSP, 6493–6497. 10.1109/ICASSP39728.2021.9414878
  4. Mittag, G., Naderi, B., Chehadi, A., & Möller, S. (2021). NISQA: A Deep CNN-Self-Attention Model for Multidimensional Speech Quality Prediction with Crowdsourced Datasets. Proc. Interspeech, 2127–2131. 10.21437/Interspeech.2021-299
  5. Goodhart, C. A. E. (1984). Problems of Monetary Management: The UK Experience. In Monetary Theory and Practice (pp. 91–121). Palgrave. 10.1007/978-1-349-17295-5_4
  6. Strathern, M. (1997). `Improving ratings’: audit in the British University system. European Review, 5(3), 305–321. https://doi.org/10.1002/(SICI)1234-981X(199707)5:3<;305::AID-EURO184>3.0.CO;2-4
  7. Manocha, P., Jin, Z., & Finkelstein, A. (2022). Audio Similarity is Unreliable as a Proxy for Audio Quality. arXiv Preprint arXiv:2206.13411. 10.48550/arXiv.2206.13411