Machine learning (ML) is the development and use of computer systems that adapt and learn from data with the goal of improving accuracy, in NIST's definition. An ML system derives a model from data, rather than running only on rules that people define, and applies that model to new inputs.
The EU AI Act names machine learning as one of the techniques that let an AI system infer outputs from inputs. It describes ML approaches as those that learn from data how to achieve certain objectives, and sets them beside logic- and knowledge-based approaches. Language model training can combine several kinds of ML. In the InstructGPT work, GPT-3 was fine-tuned with supervised learning, then fine-tuned further with reinforcement learning from human feedback.
Machine Learning (ML) at a Glance
| Also called | ML |
|---|---|
| What it does | Learns from data to produce outputs such as predictions, content, recommendations or decisions |
| Where it's used in model development | Pre-training, fine-tuning, reinforcement learning from human feedback, and testing before deployment |
| The human role | Writing labels, prompts and demonstrations; ranking model outputs; validating machine-flagged data errors; verifying and validating models |
| Limits | Training data can change over time; test-set results may not generalize to new data; training data and inputs can be attacked |
How Machine Learning Works
Machine learning works by training a model on data, testing it, and then deploying it to produce outputs for new inputs. NIST lists the components of an AI system as the data, the model, the processes for training, testing and deploying the model, and the broader software and system contexts.
The main learning paradigms
NIST's adversarial ML report defines four types of learning:
- Supervised learning: the model learns to predict explicit, often human-generated labels or output values.
- Unsupervised learning: the model learns from patterns in unlabeled data, for example to cluster or group data points.
- Self-supervised learning: the model learns from implicit labels generated from unstructured data, so the true labels can be inferred automatically and large-scale training data becomes usable. A common task gives the model partial data and asks it to generate the remainder.
- Reinforcement learning: the model learns to optimize its behavior according to a reward function by interacting with an environment and receiving feedback.
Pre-training, fine-tuning and testing
Fine-tuning adapts a pre-trained model to specific tasks or a particular domain. NIST describes it as a phase that follows initial pre-training and notes it is often a supervised learning task. Northcutt et al. note that practitioners have traditionally chosen which model to deploy based on test accuracy, and they advise caution because test sets contain label errors.
Where Machine Learning Is Used in Model Development
Machine learning is used at several stages of large language model development, and the InstructGPT paper (Ouyang et al., 2022) shows where human data entered. NIST's adversarial ML report uses the InstructGPT pipeline as its example of LLM training.
- Demonstrations: starting from labeler-written prompts and prompts submitted through the OpenAI API, labelers provided demonstrations of the desired model behavior, which were used to fine-tune GPT-3 with supervised learning.
- Rankings: labelers ranked model outputs, and the rankings were used to fine-tune the supervised model further with reinforcement learning from human feedback.
- Human evaluation: on the authors' prompt distribution, outputs from the 1.3B-parameter InstructGPT model were preferred to outputs from the 175B GPT-3, despite 100x fewer parameters.
The paper opens by noting that making language models bigger does not inherently make them better at following a user's intent. NIST's adversarial ML taxonomy also separates predictive AI systems from generative AI systems and the attacks relevant to each.
Limits of Machine Learning and the Human Role
Machine learning is limited by its data: a model learns what its training data contains, is judged by what its test data contains, and can fail on inputs that differ from both.
Label errors
Northcutt et al. estimated an average of at least 3.3% label errors across the test sets of 10 commonly used computer vision, natural language and audio datasets. Label errors made up at least 6% of the ImageNet validation set. On ImageNet with corrected labels, ResNet-18 outperformed ResNet-50 if the prevalence of originally mislabeled test examples increased by just 6%.
Generalization
Recht et al. built new test sets for CIFAR-10 and ImageNet. A broad range of models showed accuracy drops of 3% to 15% on CIFAR-10 and 11% to 14% on ImageNet. The authors attribute the drops to the models' inability to generalize to slightly harder images, not to adaptivity from heavily re-used test sets.
Drift, deployment and attacks
NIST's AI Risk Management Framework notes that AI systems may be trained on data that changes over time, sometimes significantly and unexpectedly. It adds that risks measured in a lab may differ from those that emerge in real-world settings. NIST's adversarial ML report says the statistical, data-based nature of ML systems opens attack vectors beyond those of traditional software, including manipulation of training data.
Where people fit
People write the labels, demonstrations and rankings, validate machine-flagged errors, and check the models. The AI RMF treats separating those who build and use models from those who verify and validate them as a best practice.
Machine Learning vs. Artificial Intelligence
Machine learning is one technique for building AI systems, while artificial intelligence is the broader category that also includes logic- and knowledge-based approaches.
| Aspect | Machine learning | Artificial intelligence |
|---|---|---|
| Scope | A family of techniques that learn from data | Machine-based systems that, for a given set of objectives, generate outputs such as predictions, recommendations or decisions |
| How behavior is produced | Learned from data to achieve certain objectives | Through ML, or through logic- and knowledge-based approaches that infer from encoded knowledge or symbolic representation |
| What falls outside | Behavior specified only by hand-written rules | Systems based on rules defined solely by people to automatically execute operations |
The EU AI Act names the capability to infer as a key characteristic of AI systems, and it lists machine learning as one technique that enables inference.
Machine Learning at Hugo
Hugo helps AI companies build and manage dedicated human teams for the human-data stages of machine learning, including model evaluation, data operations and human-in-the-loop AI training. Its service lines cover multimodal and spatial AI, preference alignment and model post-training, audio-visual transcription and diarization, embodied AI and robotics data, advanced reasoning and STEM evals, and STEM and domain-expert prompt generation. Each team is calibrated to the client's own taxonomy, rubric or harness and managed through every cycle. Hugo is not a crowd marketplace, a labeling-software platform or a model vendor; the product is the team.
Related Terms
- AI Model Training
- Data Annotation
- Generative AI (GenAI)
- Large Language Model (LLM)
- Natural Language Processing (NLP)
- Prompt Engineering
- Audio-Visual Speech Recognition (AVSR)
Machine Learning (ML) FAQs
What is machine learning in simple terms?
Machine learning is a way of building software that learns patterns from data instead of following rules written by hand. NIST defines it as the development and use of computer systems that adapt and learn from data with the goal of improving accuracy. The learned model then produces outputs for new inputs, such as the predictions, content, recommendations or decisions the EU AI Act lists for AI systems. The Act says its definition should not cover systems based solely on rules defined by people to automatically execute operations. When scoping a project, decide which behaviors must be learned from examples and which can be written as explicit rules.
What are the main types of machine learning?
The main types of machine learning that NIST defines are supervised, unsupervised, self-supervised and reinforcement learning. In NIST's definitions, supervised learning predicts explicit, often human-generated labels. Unsupervised learning finds patterns in unlabeled data, such as clusters. Self-supervised learning generates implicit labels from the data itself, enabling the use of large-scale training data. Reinforcement learning optimizes behavior against a reward function through feedback from an environment. Real pipelines combine them: NIST describes fine-tuning as a phase that follows pre-training and is often a supervised learning task.
What is the difference between AI and machine learning?
Artificial intelligence is the broader category, and machine learning is one technique for building AI systems. The EU AI Act names the capability to infer as a key characteristic of AI systems and lists two families of techniques that enable it: machine learning approaches that learn from data how to achieve objectives, and logic- and knowledge-based approaches that infer from encoded knowledge. The Act says its definition should not cover systems based solely on rules defined by people. When a policy or contract says AI, check whether it means ML systems only or any system that infers.
How do you evaluate a machine learning model?
Machine learning models are evaluated by measuring performance on test data the model was not trained on, then checking that results hold on new data and in real use. Test sets have flaws: Northcutt et al. estimated at least 3.3% label errors on average across 10 widely used test sets. Recht et al. found accuracy drops of 11% to 14% on ImageNet when models met a newly built test set. NIST's AI RMF warns that lab measurements may differ from real-world risks and treats separating the people who verify models from those who build them as a best practice.
Why does training data quality matter in machine learning?
Training data quality matters because a machine learning model learns whatever its data contains, including errors, and is then judged on test data that can contain errors too. Northcutt et al. found label errors in at least 6% of the ImageNet validation set. With corrected labels, ResNet-18 outperformed ResNet-50 if the prevalence of originally mislabeled test examples increased by just 6%. NIST's AI RMF adds that training data can change over time, sometimes significantly and unexpectedly. Ask any data provider how errors are detected, who validates them, and how fixes reach both training and test sets.
How do humans contribute to machine learning?
Humans contribute to machine learning by writing the labels, prompts, demonstrations and rankings that models learn from, and by evaluating the results. In the InstructGPT work, labelers wrote demonstrations used for supervised fine-tuning, then ranked model outputs used for reinforcement learning from human feedback. In the authors' human evaluations, outputs from the 1.3B-parameter model were preferred to those from the 175B GPT-3. Humans also validate machine-flagged errors: in Northcutt et al., crowdsourced reviewers confirmed that 51% of algorithmically flagged candidates were mislabeled, on average across the datasets. The useful question for any human-data program is how reviewers are calibrated to the rubric.
When should an AI company outsource machine learning data work?
An AI company can outsource machine learning data work, such as labeling, preference ranking or evaluation, when it needs human judgment at a volume or expertise level its internal team cannot staff. NIST's AI RMF notes that third-party data can accelerate research and development but may complicate risk measurement. It also notes that risk can come from the data itself and from how it is used. NIST says all parties should manage risk in the AI systems they develop, deploy or use. Ask a provider how its reviewers are calibrated to your rubric and how disagreements are resolved and documented.
Sources
- NIST Computer Security Resource Center. Machine Learning - Glossary | CSRC. Accessed November 9, 2026.
- NIST Computer Security Resource Center. supervised learning - Glossary | CSRC. Accessed November 9, 2026.
- NIST Computer Security Resource Center. unsupervised learning - Glossary | CSRC. Accessed November 9, 2026.
- NIST Computer Security Resource Center. self-supervised learning - Glossary | CSRC. Accessed November 9, 2026.
- NIST Computer Security Resource Center. reinforcement learning - Glossary | CSRC. Accessed November 9, 2026.
- NIST Computer Security Resource Center. fine‐tuning - Glossary | CSRC. Accessed November 9, 2026.
- National Institute of Standards and Technology (NIST). Artificial Intelligence Risk Management Framework (AI RMF 1.0). NIST AI 100-1. Updated January 2023. Accessed November 9, 2026.
- Vassilev A, Oprea A, Fordyce A, Anderson H, Davies X, Hamin M (NIST). Adversarial Machine Learning: A Taxonomy and Terminology of Attacks and Mitigations. NIST Trustworthy and Responsible AI, NIST AI 100-2e2025. Updated March 2025. Accessed November 9, 2026.
- European Parliament and Council of the European Union (EUR-Lex). Regulation (EU) 2024/1689 of the European Parliament and of the Council of 13 June 2024 laying down harmonised rules on artificial intelligence and amending Regulations (EC) No 300/2008, (EU) No 167/2013, (EU) No 168/2013, (EU) 2018/858, (EU) 2018/1139 and (EU) 2019/2144 and Directives 2014/90/EU, (EU) 2016/797 and (EU) 2020/1828 (Artificial Intelligence Act). Official Journal of the European Union, L series. Updated July 12, 2024. Accessed November 9, 2026.
- Ouyang L, Wu J, Jiang X, et al. Training language models to follow instructions with human feedback. arXiv. Updated March 4, 2022. Accessed November 9, 2026.
- Northcutt CG, Athalye A, Mueller J. Pervasive Label Errors in Test Sets Destabilize Machine Learning Benchmarks. 35th Conference on Neural Information Processing Systems (NeurIPS 2021) Track on Datasets and Benchmarks. Updated November 7, 2021. Accessed November 9, 2026.
- Recht B, Roelofs R, Schmidt L, Shankar V. Do ImageNet Classifiers Generalize to ImageNet?. arXiv. Updated June 12, 2019. Accessed November 9, 2026.




