Validation
Validation is checking that a model or AI system does what it is meant to do: in machine learning, scoring it on held-out data during development; in engineering, confirming it meets the needs of its intended use.
In everyday machine learning, validation is the routine check made while a model is being built. Google's machine learning glossary defines it as the initial evaluation of a model's quality, made against a validation set the model did not train on. Because the validation data differs from the training data, it guards against overfitting, where a model memorises its training examples instead of learning patterns that carry over. Google likens it to a first round of testing, with the test set as the second.
Developers validate constantly. They check validation loss and other metrics to choose hyperparameters, compare model designs and decide when to stop training. When data is scarce, cross-validation estimates how well a model generalises by testing it against several non-overlapping subsets withheld from training.
In engineering, standards and regulation, validation has a wider meaning. NIST's AI Risk Management Framework uses the ISO 9000:2015 definition: confirmation, through objective evidence, that the requirements for a specific intended use or application have been fulfilled. That is a question about the real job, not just a held-out score. A medical model can validate well on hospital data and still fail validation for a clinic whose patients and equipment differ.
Validation is usually paired with verification. Verification checks that a system was built as specified; validation checks that the specification was the right one for the use. NIST groups both with testing and evaluation under TEVV and notes that, ideally, verification and validation are done by different people from those doing the testing and evaluation.
It is evaluating a model during development on a validation set, data held back from training. The results guide decisions such as which settings to use and when to stop training, and they reveal overfitting when performance on training data is much better than on validation data. In machine learning, validation is repeated during development to tune the model, while testing happens once at the end on a separate test set to estimate final performance. Keeping them apart stops tuning decisions from making the final score look better than it is. Verification asks whether the system was built according to its specification. Validation asks whether it meets the needs of its intended use. NIST's AI Risk Management Framework uses the ISO 9000:2015 definition of validation as confirmation through objective evidence that those requirements have been fulfilled.Common questions
What is validation in machine learning?
What is the difference between validation and testing?
What is the difference between verification and validation?
Search for "validation set machine learning", "cross-validation" or "verification and validation AI". Machine learning course material from established providers explains the development sense, while NIST publications and international standards cover the engineering and regulatory sense. Check which meaning a document uses, since a model validated in the first sense may not be validated in the second.Finding more
Working out what this means for your business?
Aileron Shift builds the systems behind this site: AI newsrooms that research, write and publish on their own, marketing automation and WordPress hosting for companies that need to move faster than their competitors.