Evaluate model performance

Updated at:

Speech recognition and detection lets you visually assess the speech-to-text recognition accuracy of a speech model. By performing manual verification, you create accurate text annotations (also known as ground truth) to train your custom model. The model comparison feature shows the accuracy improvements after each optimization, helping you improve the accuracy of your speech-to-text recognition. Improving recognition accuracy is critical because it directly affects the hit rate of your quality inspection rules: the higher the accuracy, the higher the hit rate.

Video tutorial

Note

Recognition accuracy is the percentage of text correctly transcribed by a language model, calculated after manual verification using the formula: (Correctly transcribed content / Total transcribed content) * 100%. Recognition accuracy is not static; different speech models produce different accuracy scores for the same audio file.

Create a task

Click Create Task at the top of the speech recognition and detection page. Enter a task name, select a dataset, and then click Transcribe and Manually Verify in the lower-left corner to submit the task.image.png

Manual verification

After the task is complete, perform manual verification. The system initially reports the accuracy for the general-purpose model as 100%. Correct any errors by manually verifying each sentence—listen to the audio and check the transcribed text. If a transcription is incorrect, enter the correct text. The system then calculates the true recognition accuracy of the general-purpose model based on the number of correctly transcribed words.

1. Open the file for manual verification

Click Manual Verification on the far right of the list. The verification page opens in a new window and is similar to the file review page, as shown below:image.png

2. The manual verification process

Verify each sentence by listening to the audio and checking for transcription errors:

  • If the transcription is correct, click Correct. The sentence is then marked as verified, as shown below:

  • If the transcription is incorrect, click Incorrect. Then, enter the correct text and select the correct role, as shown below:

  • When you submit a correction, the differences between the transcribed text and the correct text are highlighted in one of three ways:

  • Green with an underline: Indicates a missing word that you added.

  • Red with a strikethrough: Indicates an extra word that you removed.

  • Yellow: Indicates an incorrect word that you replaced.image.png

  • When the role is incorrect, select the correct role and submit the change. The result is shown below:image.png

3. Verification progress indicator

The Submit button in the lower-right corner remains disabled until all sentences are verified. Hover over the Submit button to see the current verification progress. Click Go to Unverified Sentence to jump to the next unverified sentence.image.png

4. Submit

After you verify all sentences, click Submit. This submits your changes for the current file and recalculates the recognition accuracy for the task. The task list then shows the updated recognition accuracy for the general-purpose model:识别率

Model comparison

After manual verification, you have the true recognition accuracy for the general-purpose model. If the accuracy is low, train a custom model. For instructions on how to train a model, see language model. If you already have a custom model, you can perform a model comparison to check its recognition accuracy.

  1. Click Model Comparison on the far right of the task list, select your custom model, and then submit the task.

  2. Monitor the status of the model comparison task in the task list. When the task is complete, the custom model's accuracy is displayed. Click the accuracy score to view the detailed model comparison report:image.png

  3. The transcribed text from the general-purpose model and the custom model are displayed side-by-side. Review the differences in the custom model's transcription and add a more targeted corpus to the model's training data. This helps you further improve the recognition accuracy of your custom model.image.png

Improve model accuracy

After you complete manual verification for a speech recognition and detection task, you can download your annotations (the correct text). This text provides an excellent corpus for training a language model. Use these annotations to manually train a custom model. An automated training feature will be available in the future.

After training the model, run another model comparison with the updated custom model to check for improvements in recognition accuracy.