03 · What You Need to Know
How Machine Learning and Generative AI Fit Together
Machine Learning Is About Learning Patterns From Data
The National Institute of Standards and Technology defines machine learning as the development and use of computer systems that adapt and learn from data with the goal of improving accuracy.
That broad idea covers many methods. Instead of specifying every rule that connects an input to an output, developers train a model using data so that it learns statistical relationships useful for a task.
In research, those tasks can include predicting disease risk, classifying images, detecting anomalies, grouping observations, recognizing patterns in text, forecasting values, or estimating relationships too complex to specify manually.
Machine learning is therefore one part of the broader landscape of artificial intelligence in research. The terms AI and machine learning are often used loosely in everyday discussion, but they are not exact synonyms.
Generative AI Is Distinguished by the Kind of Output It Is Designed to Produce
NIST defines generative artificial intelligence as a class of AI models that emulate the structure and characteristics of input data in order to generate derived synthetic content. That can include text, images, video, audio, and other digital content.
The defining feature is generation.
A conventional classification model might examine an image and output a label: malignant or benign. A generative model might produce a new synthetic image. A predictive model might estimate tomorrow's demand. A generative language model might produce a written explanation of the observed demand pattern.
All may involve machine learning, but the intended outputs differ.
Machine learning
A broad family of computational approaches in which models learn patterns from data for tasks such as prediction, classification, clustering, generation, and more.
Generative AI
AI models and systems specifically oriented toward generating synthetic content based on patterns learned from data.
The Relationship Is Better Shown as Overlap Than Opposition
One way to avoid confusion is to think hierarchically rather than as an either-or comparison.
Artificial intelligence
The broadest concept here, encompassing systems and techniques designed to perform functions associated with intelligent behavior or inference.
Machine learning
A major family of AI approaches in which systems learn patterns from data.
Generative models
Machine-learning models designed to model data in ways that allow new samples or content to be generated.
Generative AI applications
Systems that make those generative capabilities available for tasks involving text, images, audio, video, code, and other content.
This hierarchy is simplified because AI terminology evolves and different technical traditions sometimes classify methods differently. Still, it is far more accurate than imagining “machine learning” on one side and “generative AI” on the other.
Supervised Machine Learning Often Learns to Predict Known Targets
In supervised learning, a model learns from examples associated with explicit output values or labels. NIST describes supervised learning as machine learning in which a model learns to predict explicit, often human-generated, labels or output values for data.
Suppose researchers have thousands of medical images that experts have already labeled according to whether a condition is present. A supervised learning model can be trained on those examples to learn patterns associated with the labels and then predict labels for new images.
The output may be a class, probability, or numerical prediction. Nothing about the task requires the system to generate an essay, image, or other open-ended content.
Unsupervised Learning Can Find Structure Without Preassigned Labels
Machine learning is not limited to labeled prediction. NIST describes unsupervised learning as learning from patterns in unlabeled data, such as learning to cluster or group data points.
A researcher might use clustering to explore whether observations naturally form groups based on their measured characteristics. Again, this is machine learning, but the primary goal is discovering structure rather than generating new content for a user.
Generative Models Learn Patterns That Can Be Used to Create New Samples
Generative models learn characteristics of data in ways that allow them to produce new outputs resembling the learned distribution or structure.
Different architectures can support generation. Large language models generate sequences such as text or code. Image-generation systems can produce images from prompts or other inputs. Other generative models can produce synthetic tabular data, molecular structures, audio, video, or domain-specific representations.
This means large language models used by researchers are one important example of generative machine learning, not a synonym for all machine learning.
Predictive and Generative Tasks Can Use the Same Data Differently
Consider a dataset containing information about students' learning behavior and whether each student completed a course.
| Research goal |
Possible approach |
Typical output |
| Predict course completion |
Supervised machine learning |
Predicted class or probability |
| Identify groups of students with similar behavior |
Unsupervised learning such as clustering |
Clusters or group assignments |
| Detect unusual learning patterns |
Anomaly-detection methods |
Anomaly scores or flagged observations |
| Generate synthetic student records resembling the original data |
Generative modeling |
New synthetic observations |
| Produce a prose explanation of analytical results |
Generative language model |
Generated text |
The table illustrates why “Which is better, machine learning or generative AI?” is usually the wrong question. The appropriate approach depends on what the research task actually requires.
Generative AI Can Be a Research Tool Without Being the Research Method
Suppose you conduct a conventional randomized experiment and use a generative AI assistant to revise the wording of your abstract. Generative AI has entered the research workflow, but it is not the analytical method used to answer your research question.
Now suppose you evaluate whether a generative model can accurately produce synthetic clinical records while preserving important statistical properties and protecting privacy. The generative model is methodologically central to the study.
Researchers therefore need to distinguish the technology used somewhere in the workflow from the method through which evidence is generated or analyzed.
Machine Learning Is Not Automatically More Objective Than Generative AI
Predictive machine-learning systems can appear less subjective because their outputs may be numerical: a probability, label, score, or forecast. Numerical output, however, does not guarantee methodological validity.
Performance depends on training data, measurement quality, target definition, sampling, model selection, validation procedures, distribution shifts, bias, leakage, and the suitability of performance metrics, among other considerations.
A model that predicts with 95% accuracy may still be useless if the dataset is unrepresentative, the outcome is poorly defined, the classes are severely imbalanced, or the model fails in the population where researchers intend to use it.
Generative AI and predictive machine learning therefore have different failure modes, but both require validation appropriate to the task.
Generative AI Introduces Additional Questions About Content
When the output is generated language, imagery, code, or other synthetic content, researchers need to evaluate more than predictive performance. They may need to consider factual accuracy, hallucination, source grounding, intellectual property, confidentiality, bias, reproducibility, disclosure, and whether generated material can be independently verified.
These characteristics help explain why generative AI can require safeguards different from those used with conventional research software or other computational methods.
The European Commission's current living guidelines on generative AI in research emphasize continuing researcher responsibility, critical assessment of generated outputs, transparency, privacy and confidentiality, and the need to respect applicable rules and research-integrity principles.
Generative AI Can Also Be Used to Help Build Machine-Learning Research
The categories can intersect at the workflow level as well as technically.
A researcher developing a predictive machine-learning model might use a generative AI assistant to explain an error message, draft Python code, suggest tests, document functions, or identify possible reasons for unexpected model behavior.
In that situation, machine learning is part of the research method while generative AI is assisting the researcher in implementing it.
The generated code still needs inspection and testing. A fluent explanation of a machine-learning problem is not proof that the explanation is correct.