AI Logic

Evaluation Metrics

Mean Opinion Score (MOS)

Updated:

How MOS is obtained. On the left, listeners hear each speech sample one at a time without a reference (ACR), rate it on a five-point scale (Excellent 5, Good 4, Fair 3, Poor 2, Bad 1), and the ratings are averaged per condition into a MOS reported with a confidence interval. On the right, a bar chart of how many listeners gave each rating for two systems with 20 ratings each, and their MOS with 95% confidence intervals (system A 4.20 ± 0.39, system B 3.00 ± 0.46)

Background and overview

MOS (Mean Opinion Score) is the average of the ratings that listeners give after hearing speech and judging its quality on a five-point scale from "Excellent" (5) to "Bad" (1). The value ranges from 1 to 5, and a higher value means the quality was perceived as better.

MOS=1n∑i=1nri,ri∈{1,2,3,4,5}\mathrm{MOS} = \frac{1}{n} \sum_{i=1}^{n} r_i, \qquad r_i \in \{1, 2, 3, 4, 5\}

rir_i is the rating from the ii-th listener, and nn is the number of ratings.

The MOS test method is defined in ITU-T Recommendation P.800 (1996). It was originally designed to evaluate the quality of telephone calls, and for listening-only tests it recommends ACR (Absolute Category Rating), in which listeners hear each sample one at a time without a reference and rate it. In deep learning, MOS is widely used as the final yardstick for comparing the quality of speech synthesis (such as Tacotron 2 and WaveNet) and of speech coding and enhancement.

Objective metrics such as PESQ try to predict this MOS by machine. Because MOS is what people actually heard, it is the ground truth rather than a prediction, but recruiting listeners takes effort and money.

The figure at the top shows the test procedure (left) and an example of the rating distributions of two systems with their MOS and 95% confidence intervals (right).

Definition and procedure

A listening-only test with ACR under P.800 roughly follows these steps.

  1. Prepare the speech: Arrange short, meaningful sentences (2–3 seconds when spoken) with no semantic connection to one another, grouped into sets of 2–5 sentences. Balance the talkers with at least two male and two female speakers.
  2. Choose the conditions under test and the reference conditions: In addition to the systems or settings (conditions) to be evaluated, include reference conditions with known degradation (such as speech with noise of a fixed level added) so the results can be compared with other tests.
  3. Recruit listeners: Select them at random from ordinary telephone users. They must not work in quality assessment or speech coding, must not have taken part in another assessment test recently, and must not have heard the same sentences before.
  4. Listen and rate: Listeners hear the samples one at a time and rate their quality on the five-point scale below. To avoid fatigue, a session should preferably last no more than 20 minutes, and at most 45 minutes.
  5. Average: For each condition, take the mean of the listeners' ratings. This is the MOS. Compute confidence intervals and check whether the differences between conditions are significant, for example with analysis of variance.
ScoreListening quality
5Excellent
4Good
3Fair
2Poor
1Bad

The confidence interval is usually computed from the t distribution as MOS±t0.975, n−1 s/n\mathrm{MOS} \pm t_{0.975,\, n-1}\, s / \sqrt{n}, where ss is the sample standard deviation of the ratings. In the example in the figure at the top, 20 ratings give 4.20±0.394.20 \pm 0.39 for system A and 3.00±0.463.00 \pm 0.46 for system B. The intervals do not overlap, so A can be said to be better.

P.800 notes that the wording of the rating scale strongly affects the results, so it requires the prescribed words (or their equivalents in other languages). It also warns that some older tests scored Excellent = 4 down to Bad = 0, and that 1 must be added to those results before comparing them.

What it measures and its limitations

MOS measures the average quality perceived by the listeners in a given test, under that test's conditions. Because it is human judgment itself, the ratings also capture unnaturalness that machine metrics miss (such as mispronunciations or unnatural prosody).

It also has the following limitations.

  • The meaning of the value changes from test to test: Even for the same speech, the ratings change with the quality range of the other samples played in the same test, the listeners, the language, the playback equipment, and the bandwidth (telephone band or wideband). P.800.1 also states that comparing MOS values from different contexts is invalid.
  • It struggles to separate high-quality systems: According to P.800, ACR has low sensitivity for distinguishing among good-quality circuits. When the differences are small, methods such as DCR, in which listeners rate the degree of degradation relative to a reference, are used instead.
  • It costs money and time: Because it requires recruiting listeners and running a test, it is not suited to repeated measurement during development. For that purpose, objective metrics such as PESQ or networks that predict MOS (such as MOSNet and UTMOS) are used.
  • It does not say what is wrong: It is a single number, so the causes of lower quality must be investigated through listener comments or separate analysis.

Check whether a value labeled "MOS" is a human rating or a machine prediction. P.800.1 recommends calling the mean of listener ratings MOS-LQS (S for subjective) and the output of objective models such as PESQ (P.862.1, P.862.2) or POLQA (P.863) MOS-LQO (O for objective). When comparing MOS in papers, report the number of listeners, the number of ratings, the confidence intervals, and the conditions presented, and do not directly compare values that lack them.

Test rules set by the Recommendation

MOS is not a metric proposed in a particular paper; it is a value obtained through the test method defined in P.800. To make the values reliable, P.800 sets rules such as the following for ACR tests.

ItemP.800 rule (ACR listening-only test)
Recording environmentA room of 30–120 m³ with a reverberation time under 500 ms (preferably 200–300 ms) and noise under 30 dBA
SentencesShort, meaningful sentences (2–3 seconds) grouped into sets of 2–5
TalkersAt least two male and two female talkers for balance. Ratings for male and female talkers are tallied separately and combined only if they do not differ
Reference conditionsAlways include conditions with known degradation so tests can be compared
ListenersChosen at random from ordinary telephone users. They have not taken part in any other subjective test in the past 6 months or in a listening test in the past year
Session lengthPreferably no more than 20 minutes, at most 45 minutes
AnalysisAverage the listeners' ratings per condition. Obtain confidence intervals and significance with analysis of variance or similar methods

Besides ACR, P.800 also defines the following methods.

MethodPresentationScaleResulting valueSuited to
ACR (Absolute Category Rating)Only the sample under test, one at a time5 (Excellent) to 1 (Bad)MOSThe basic listening-only test
DCR (Degradation Category Rating)Quality reference sample → sample under test5 (degradation inaudible) to 1 (degradation very annoying)DMOSSmall differences between high-quality samples
CCR (Comparison Category Rating)Reference and sample under test, in random order+3 (much better) to −3 (much worse)CMOSProcessing that can improve quality, such as noise suppression

Deep learning papers use this format as is. For example, the Tacotron 2 paper had 100 sentences selected from the test data rated by at least 8 listeners per sentence on a 1–5 scale (in 0.5 increments), and computed 95% confidence intervals from the t distribution.

SystemMOS
Parametric3.492 ± 0.096
Tacotron (Griffin-Lim)4.001 ± 0.087
Concatenative4.166 ± 0.091
WaveNet (linguistic features)4.341 ± 0.051
Tacotron 24.526 ± 0.066
Ground-truth recordings4.582 ± 0.053

The same paper also ran an evaluation close to CCR, presenting synthesized speech and human recordings side by side for rating from −3 to +3. It reported a mean of −0.270 ± 0.155, meaning human recordings were slightly but significantly preferred.

Where it is used

MOS is mainly used in the following situations.

  • Evaluating speech synthesis: Papers on speech synthesis such as Tacotron 2, FastSpeech 2, and VITS, and on vocoders such as HiFi-GAN, report naturalness MOS as their main result. Synthesized speech is not necessarily waveform-aligned with human recordings, which makes metrics that compare waveforms against reference speech hard to use.
  • Final evaluation of speech coding, communication, and enhancement: The quality of speech coding and noise suppression is confirmed by listener judgment. It is common to use substitutes such as PESQ during development and run a MOS test at the end.
  • Validating objective metrics: How well PESQ, STOI, MOSNet, and others agree with human judgment is checked through their correlation with MOS (or with intelligibility tests).

Deep learning papers often recruit listeners through crowdsourcing services, as Tacotron 2 did, and cannot meet the conditions P.800 assumes: a quiet room, fixed playback equipment, and selected listeners. Values can therefore vary more between tests, so always include reference conditions such as human recordings in the same test (P.800 also requires reference conditions), and describe in the paper how listeners were recruited, how many there were, and the playback conditions.

Comparison with similar metrics

The following table compares four metrics of speech quality and intelligibility from the same perspectives.

MetricReference speechWhat it measuresRange and directionHow it is computed
SI-SDRRequired (full reference)Waveform distortion (energy ratio of the target signal component to everything else)dB, unbounded. Higher is betterFormula based on inner products and energies
PESQRequired (full reference)Perceptual quality (degradation as heard over the telephone)Raw score −0.5 to 4.5; about 1.0 to 4.6 when mapped to MOS-LQO. Higher is betterComparison through an auditory model
STOIRequired (full reference)Intelligibility (whether the words can be understood)−1 to 1 by the formula, roughly 0 to 1 in practice. Higher is betterCorrelation of envelopes over short segments
MOSNot required (in ACR, where listeners rate each sample individually)Subjective quality (how it sounds to people)1 to 5. Higher is betterMean of listener ratings

Rough guidelines for choosing among them:

  • To claim naturalness of speech synthesis: Run a MOS test and evaluate human recordings alongside as a reference condition.
  • To confirm small differences between high-quality systems: Use DCR (DMOS), which is more sensitive than ACR MOS, or CCR (CMOS), which compares two samples side by side.
  • To check quality repeatedly during development: Use PESQ, SI-SDR, or STOI when reference speech is available, and MOS predictors such as MOSNet or UTMOS when it is not, confirming with MOS tests at key points.
  • To know whether words can be understood: Use intelligibility tests (the proportion of words heard correctly) or STOI rather than quality MOS. P.800 also has a "listening effort" scale, on which listeners rate on five levels the effort needed to understand the meaning.

PyTorch example

Show code
python
import numpy as np
from scipy import stats


def mos_with_ci(ratings, confidence=0.95):
  """ratings: array of ratings (1-5) for one condition (system). Returns the MOS and the half-width of the t-distribution confidence interval."""
  r = np.asarray(ratings, dtype=float)
  n = len(r)
  mos = r.mean()
  half = stats.t.ppf((1 + confidence) / 2, df=n - 1) * r.std(ddof=1) / np.sqrt(n)
  return mos, half


# Example from the figure at the top: 20 ratings each
system_a = [2] * 1 + [3] * 2 + [4] * 9 + [5] * 8
system_b = [1] * 1 + [2] * 5 + [3] * 8 + [4] * 5 + [5] * 1
for name, r in [("A", system_a), ("B", system_b)]:
  m, h = mos_with_ci(r)
  print(f"{name}: {m:.2f} ± {h:.2f}")  # A: 4.20 ± 0.39, B: 3.00 ± 0.46

# Check whether the difference between the two systems is significant (if the same listeners rated the same sentences, use a paired test or ANOVA)
print(stats.ttest_ind(system_a, system_b, equal_var=False))

FAQ

Q. What MOS counts as good audio quality?
A.

There is no fixed threshold. MOS is a relative value that changes with the other samples presented, the listeners, the language, and the playback equipment. For that reason, include human recordings or existing systems in the same test and judge by the difference from them. For example, in the Tacotron 2 paper, human recordings scored 4.582 and the proposed method 4.526.

Q. How many listeners are needed?
A.

The ACR annex of P.800 gives no fixed number of listeners; it is decided according to the test design. A rule of thumb is to make the confidence interval narrow enough to resolve the difference you want to detect. The half-width of the confidence interval shrinks roughly as 1/n1/\sqrt{n}, so quadrupling the number of ratings roughly halves it. In deep learning papers, there are examples such as Tacotron 2 that evaluate about 100 sentences with at least 8 listeners per sentence.

Q. Can PESQ scores be reported as MOS?
A.

Avoid labeling them simply as MOS. PESQ outputs a prediction of listener ratings, and P.800.1 recommends calling it MOS-LQO (objective) to distinguish it from MOS-LQS (subjective), the mean of listener ratings. When reporting, state how the value was obtained, for example "PESQ (MOS-LQO per P.862.2)".

References

  1. ITU-T Recommendation P.800 (08/1996). Methods for subjective determination of transmission quality.
  2. ITU-T Recommendation P.800.1 (07/2016). Mean opinion score (MOS) terminology.
  3. Shen, J., et al. (2018). Natural TTS Synthesis by Conditioning WaveNet on Mel Spectrogram Predictions(Tacotron 2). ICASSP 2018. arXiv:1712.05884.