Natural Language Processing · Advanced level

Advanced level · Module 10: NLP Model Evaluation and Deployment · Lesson 1 of 4

Designing Rigorous NLP Evaluation

Learners design an evaluation plan for their level project: test sets by language and document type, robustness tests for spelling and noise, bias checks and human evaluation.

In this lesson you will

  • Design a complete evaluation plan for an NLP system
  • Run robustness and slice tests

Key concepts

held-out test setslices (language, length, source)perturbation testsbias checkshuman evaluation

The lesson

A good evaluation plan defines the test data before building, reports results by slice (language, document type, length), and includes human review of a sample. A single overall score is never enough.

Robustness tests perturb inputs the way real users write: misspellings, missing punctuation, mixed languages and abbreviations. A large drop in accuracy under small changes signals a fragile system.

Bias checks ask whether the system works worse for some groups, for example messages written in Juba Arabic, or documents from particular regions. Record and report these gaps.

Step by step

  1. Write the evaluation plan for the level project.
  2. Create the test slices and perturbation tests.
  3. Run them and record results.
  4. Organise a human evaluation of 30 outputs.

Practice activity

Write and execute the level project's evaluation plan.

Expected result: Slice, robustness and human-evaluation results that honestly describe the system.

Check your understanding

  1. What is a slice in evaluation?

    Show answer

    A subset of test data, such as one language or document type, evaluated separately.

  2. What does a perturbation test check?

    Show answer

    Whether small realistic changes to input change the output.

Further learning

Taught live by an instructor — online or in person. Free course lessons are for self-study and do not lead to a certificate — see registration options.