model evaluation
1 article
Model evaluation is the process of measuring how well a machine learning model performs, and how it fails, before and after it is put to use.
The basic rule is to test on data the model has not seen. A model can score perfectly on its training examples simply by memorising them, so a portion of data is held back and used only for testing. Performance is then summed up with metrics suited to the task. Accuracy counts correct answers. Precision and recall separate two kinds of error, false alarms and misses, which matters when one is far more costly than the other, as in medical screening.
Large language models need a wider toolkit, because their output is open-ended text and not a label. Benchmarks are fixed sets of questions or tasks with agreed scoring, covering reasoning, coding, knowledge and more. Human judges, or other models acting as judges, grade answers that have no single correct form. Safety evaluations ask a different question: not how capable the model is, but whether it can be led into harmful behaviour, which is where red teaming comes in. Evaluation has known traps. Test questions can leak into training data and inflate scores. A benchmark that everyone optimises for stops reflecting real ability. A single headline number hides how a model behaves on unusual inputs or for particular groups of people.
Good evaluation matters because it is the only evidence anyone has about a system they cannot inspect directly. Buyers, regulators and developers all rely on it to decide what to deploy. When it is weak, flawed systems reach hospitals, courts and classrooms with confidence they have not earned.