Evaluation Metrics
Measures of model quality, including speech and video metrics: F1, AUC, WER, MOS, and more.
BERTScoreBERTScore is an evaluation metric that converts the tokens of a generated sentence and a reference sentence into contextual embeddings from a pretrained model such as BERT, matches each token to its most similar counterpart by cosine similarity, and computes recall, precision, and F1. It can credit paraphrases that differ in wording but are close in meaning, and its sentence-level scores correlate well with human judgments.
BLEUBLEU is an evaluation metric that counts the fraction of word sequences (1- to 4-grams) shared between a machine translation output and human reference translations, penalizes translations that are too short, and produces a number between 0 and 1. It is fast and cheap to compute, and at the corpus level it correlates well with human judgments.
chrFchrF is an evaluation metric that counts the character sequences (character n-grams of length 1 to 6) shared between a machine translation output and a reference translation, and combines precision and recall into an F-score. It is less sensitive to word segmentation and inflection, and it can be computed for any language without extra tools.
Diarization Error Rate (DER)The diarization error rate (DER) evaluates estimates of "who spoke when" in a recording. After optimally mapping speakers, it sums the durations of false alarms, missed speech, and speaker confusion and divides by the total reference speech time. Lower is better, and it is the standard metric for speaker segmentation of meetings and phone calls.
Edit scoreThe edit score is an evaluation metric for temporal action segmentation in video. It condenses the prediction and the ground truth into sequences of per-segment actions and normalizes their edit distance by the number of segments. It penalizes errors in action order and over-segmentation, in which segments are broken into small pieces, and ranges from 0 to 100, with higher being better.
F1 ScoreThe F1 score is an evaluation metric that condenses classification performance into a single number, the harmonic mean of precision and recall. Even on data with few positives, it gives a more realistic assessment than accuracy.
F1@k (Segmental F1)F1@k is an evaluation metric for temporal action segmentation in video that counts a predicted segment as correct if its overlap (IoU) with a ground-truth segment is at least k%, and computes an F1 score from the numbers of segments. It penalizes errors that break segments into fragments while tolerating small boundary shifts, and measures segment hits and misses without confidence scores.
Fréchet Audio Distance (FAD)FAD is an evaluation metric that maps a set of audio to be evaluated and a large set of clean music into the embeddings of VGGish, a pretrained audio classification model, and measures the distance between the two distributions (the Fréchet distance). As the audio counterpart of FID, it compares the quality of music enhancement or audio generation without needing a ground-truth recording for each clip.
Fréchet Inception Distance (FID)FID is an evaluation metric that passes real and generated images through a pretrained Inception-v3, approximates each feature distribution with a Gaussian, and measures the distance between them (the Fréchet distance). Lower values mean the distribution of generated images is closer to that of real images, so it evaluates image quality and diversity together.
Inception ScoreThe Inception Score is an evaluation metric for image generation models that classifies generated images with a pretrained Inception model and combines into a single number whether each image has a clear class and whether the classes are diverse overall. It is computed without real images, and higher is better.
Mean Average Precision (mAP)mAP is an evaluation metric that ranks object detections by confidence, draws the precision-recall curve, and averages the area under it (AP) over classes. Independently of any threshold, it measures both how few objects are missed and how few false detections are made.
Mean Intersection over Union (mIoU)mIoU is an evaluation metric for semantic segmentation that computes, for each class, the overlap between the predicted and ground-truth regions (intersection ÷ union) and averages it over classes. Because classes with small areas get the same weight, it does not let missed regions or over-painting go unnoticed even in images dominated by background.
Mean Opinion Score (MOS)The Mean Opinion Score (MOS) is the average of ratings that listeners give after hearing speech and judging its quality on a five-point scale (Excellent 5 to Bad 1). ITU-T Recommendation P.800 defines the test method, and MOS serves as the final yardstick for comparing the quality of speech synthesis and speech coding.
METEORMETEOR is an evaluation metric that aligns the words of a machine translation output with those of a reference translation one to one, in the order exact match, stem, then synonym, and turns a recall-weighted F-measure multiplied by a word-order penalty into a number between 0 and 1. At the sentence level it correlates better with human judgments than BLEU.
MOSNetMOSNet is a CNN-BLSTM neural network that predicts, from a speech spectrogram, the score people give after listening (MOS). Trained on the results of a large-scale listening test for voice conversion, it predicts system-level MOS without reference speech, with a correlation of 0.957 to human ratings.
Perceptual Evaluation of Speech Quality (PESQ)PESQ is an evaluation metric that compares a clean reference speech signal with speech that has passed through a communication channel or noise reduction, using a model of human hearing, and predicts the quality score (MOS) a listener would give. Defined in ITU-T Recommendation P.862 for telephone speech, it is widely used to evaluate speech enhancement.
PerplexityPerplexity is an evaluation metric that uses the probabilities a language model assigns to the correct tokens to express "how many choices, on average, the model is torn between"; the smaller the value, the better the model predicts the next token. It equals the exp of the per-token cross-entropy loss.
ROC AUCROC AUC is the area under the curve of true positive rate versus false positive rate traced as the threshold moves (the ROC curve), and it equals the probability that a positive receives a higher score than a negative. It compares the discriminative power of binary classifiers independently of the threshold and the class ratio.
ROUGEROUGE is a family of summarization metrics that counts the word sequences (n-grams) and longest common subsequences shared by a model-generated summary and human-written reference summaries, focusing mainly on how much of the reference content is captured (recall). It is fast to compute and correlates well with human judgments for single-document summarization.
Short-Time Objective Intelligibility (STOI)STOI is an evaluation metric that compares clean speech with noisy or processed speech through the amplitude variation (envelope) in each frequency band, and predicts speech intelligibility as the mean of correlations over segments of about 384 ms. It is used in evaluating noise reduction alongside PESQ, which measures quality.
Shot Boundary Detection EvaluationShot boundary detection evaluation measures how well a system detects shot changes in video (cuts and gradual transitions such as dissolves) using per-transition precision, recall, and F-measure. The TRECVID evaluation is the standard: cuts get a tolerance of 5 frames on each side, and for gradual transitions the positional accuracy is also measured at the frame level.
SI-SDRSI-SDR is an evaluation metric that splits an estimated waveform from speech separation or denoising into the component aligned with the target signal and the rest, and expresses the ratio of their energies in dB. It is unaffected by the estimate's level and serves as the standard metric for speech separation and as a training loss.
UTMOSUTMOS is a system that fine-tunes speech models pretrained with self-supervised learning to predict the score people give when listening to synthesized speech (MOS). By adding listener differences as an input and stacking the predictions of many models, it took first place on several evaluation metrics in the VoiceMOS Challenge 2022.
Word Error Rate (WER)Word error rate (WER) is an evaluation metric that divides the minimum number of word substitutions, deletions, and insertions needed to turn a speech recognizer's output into the human transcript by the number of words in the transcript. Lower values mean higher accuracy, and it is the standard metric for comparing speech recognition performance.
