An AI and Machine Learning Glossary

Artificial intelligence presents fantastic opportunities for many industries, and sophilabs is excited to be a part of this growing field in technology. For the average lay person, though, it can sometimes be a little tricky to keep up with the terminology. We've put together this short glossary to define some of the most commonly used terms in the field.
In December 2026 we added the terms that came with large language models and AI agents, such as LLM, RAG, token and guardrails, and revised a few of the original definitions.
Accuracy
Metric that indicates the fraction of correct predictions out of the total number of predictions a machine learning model made. A model that is highly accurate turns out a low number of false positives and false negatives. 1
AI Agent
Software that uses a large language model (LLM) to work toward a goal in several steps. An agent decides what to do next, calls tools such as a search engine, a database or another application, reads the result and continues until the task is done or it needs a person. A chatbot replies, while an agent can also act. For a practical example, see how an agent is built around a team's work.
Algorithm
In machine learning, a mathematical model that allows a computer to make predictions or decisions based on the data it receives, rather than making predictions or decisions it was specifically programmed to make. 2
Artificial Intelligence (AI)
Technology that gives computers properties of human intelligence, such as the ability to reason, solve problems, make decisions, and learn from past experience. Some applications of artificial intelligence include robotics, autonomous vehicles, pattern recognition, and machine learning. 3
More recent applications include generative AI, such as assistants built on large language models (LLMs).
Big Data
Very large sets of data, usually from multiple sources, that may present data management challenges due to the data's volume, inconsistent quality, the variety of types of data, and the high velocity at which the data is received. In machine learning, big data can be used to train more accurate models that can make better predictions and sounder decisions. 4
Chatbot
Also virtual assistant. Software that can have a conversation with a human user via text or voice by understanding the user's input, identifying the user's intent, and responding accordingly. Simple chatbots understand the user's input based on pre-programmed keywords, whereas smart chatbots use artificial intelligence to understand and adapt to the user's requests. 5
Today's best-known chatbots are built on large language models (LLMs), which let them hold an open conversation instead of following a script. A chatbot that can also carry out actions is usually called an AI agent.
Computer Vision
A subfield of artificial intelligence and machine learning that is concerned with helping computers recognize images and understand their content the way a human would. Some areas of computer vision are image classification, image captioning, and object localization, detection, and segmentation. 6
Context Window
The amount of text a language model can take into account at one time, measured in tokens. It has to hold the instructions, the conversation so far, any documents supplied and the model's own answer. What does not fit has to be left out, shortened or looked up only when it is needed, which is one reason retrieval-augmented generation (RAG) exists.
Data Analysis
A field that aims to summarize, describe, and visualize data in order to understand it better and find ways to approach a problem. 7
Data Visualization
Subfield in data analysis that involves creating graphs, charts, and other visuals in order to get a better understanding of data. 8
Dataset
A collection of separate but related sets of information that a computer manipulates as a single unit. 9
Deep Learning
Deep learning refers to a machine learning model that has multiple layers of neural networks. These multiple layers allow the model to deal with high levels of complexity and abstraction. For example, a trained deep learning model is able to discern and classify unlabelled and unstructured data, such a collection of millions of photos, videos, texts, and audio recordings. 10
Deep learning is the technique behind large language models (LLMs) and most generative AI.
Embedding
A list of numbers that represents the meaning of a text, an image or another item, produced by a machine learning model. Items with similar meanings get similar numbers, so a computer can compare them and find, for example, the paragraphs closest in meaning to a question even when they share no words with it. Embeddings make it possible to search by meaning and are usually stored in a vector database.
Evaluation (Evals)
A set of test cases, each with an expected result, that is run against a model, a prompt or an AI agent to measure how well it performs a specific task. Evaluations do the job that automated tests do in ordinary software: they are run again after every change to see whether the system got better or worse. The most useful cases come from the real work the system will do, which is part of what we cover under responsible AI.
Face Detection
Type of computer vision focused on the task of finding human faces in a photo.
Face Recognition
Type of computer vision focused not only on detecting a human face, but identifying whose face it is.
False Negative
A false negative occurs when a machine learning model fails to predict or identify something it is supposed to find. For example, in a machine learning model that is meant to detect cancer, a true negative result would occur when the model states there is no cancer, and the patient is in fact cancer-free. A false negative, however, would state that there is no cancer when cancer is actually present. False negatives and false positives can be used to measure how well a machine learning algorithm performs.
False Positive
A false positive occurs when a machine learning model predicts something that doesn't happen or identifies something that is not actually there. To return to the example of a cancer-detecting machine learning model, a true positive result in this context states that a patient has cancer when the patient does indeed have cancer. A false positive states that a patient has cancer when they are in fact cancer-free. False positives, along with false negatives, can be used to measure a machine learning algorithm's performance.
Fine-Tuning
Additional training of an existing model on a smaller set of examples so that it performs better at a particular task, style or subject. Fine-tuning changes the model itself. Retrieval-augmented generation (RAG) is different: it leaves the model as it is and supplies the relevant information each time a question is asked.
Generalization
A model's ability to adapt properly to new data that has been drawn from the same distribution as the one used to create the model. 11
Generative AI
Artificial intelligence that produces new content, such as text, images, audio, video or code, in response to a request. Earlier machine learning systems mostly classified or predicted, for example by deciding whether an email was spam. Generative systems are trained on very large amounts of existing content, learn its patterns and produce new output that follows them. Large language models (LLMs) are the best-known kind.
Guardrails
The limits placed around an AI system: which data it may read, which actions it may take, what it must refuse and which steps need a person's approval. Guardrails are enforced by the software around the model, and not only by the instructions given to it. We wrote a checklist of what to decide before an agent acts.
Hallucination
An answer from a language model that sounds confident and plausible but is false or has no support in its sources. It happens because the model produces text that is likely, and it does not check facts unless the system around it does. The risk goes down when the model is given the relevant sources (see retrieval-augmented generation), is asked to cite them, is allowed to say it does not know, and is tested with evaluations.
Human in the Loop
A way of designing an AI system so that a person reviews, corrects or approves its work at defined points, for example before a message is sent or a payment is made. Which steps need a person, and who that person is, is decided when the system is designed. It is a common guardrail.
Image Recognition
Subfield of computer vision that enables a computer to identify people, objects, buildings, or other variables in a photo.
Large Language Model (LLM)
A deep learning model trained on very large amounts of text to predict what comes next in a sequence. At a large enough scale, that one ability lets it write, summarize, translate, answer questions and produce code from instructions in plain language. A product does not need to train one: it can call a model that a provider runs, which is a common way to add AI features to an existing product.
Machine Learning (ML)
A field in artificial intelligence that uses algorithms to enable a computer to make decisions or predictions based on the data it receives, thus allowing a computer to "learn" from data rather than follow programmed instructions.
Model Context Protocol (MCP)
An open standard for connecting AI applications to the tools and data a company already uses, such as business software, databases and document stores. Anthropic introduced it in November 2024. A system makes its data and actions available once, through an MCP server, and any compatible assistant or agent can use them without a separate integration for each pair.
Named-Entity Recognition (NER)
A data extraction task that finds and categorizes named-entities in a text. Named-entities may include names of individuals, organizations, locations, and products, or numerical expressions of time and monetary value. NER is an application of natural language processing (NLP). 12
Natural Language Processing (NLP)
Field in artificial intelligence that enables computers to read, understand, and manipulate human language. NLP allows computers to understand both written text and speech. Applications of NLP include email filtering systems, speech-to-text conversion, voice commands, automatic translations, named-entity recognition (NER), and sentiment analysis. 13
Many of these tasks are now done with large language models (LLMs), which handle them with one general model instead of a separate system for each task.
Neural Networks
Set of algorithms in a machine learning model. Some capabilities of neural networks include classifying and labeling data (e.g., detecting and recognizing faces and voices); finding similarities and anomalies (e.g., comparing documents or detecting fraud); and making predictions (e.g., about human health, consumer trends, or a variety of other topics). 14
Neuron
Also node. The basic unit in a neural network. A neuron receives an input, does some computation with it, produces an output, and determines whether the signal should travel further within the network. 15
Optimization
Also mathematical optimization or mathematical programming. Branch of applied mathematics in which the goal is to select the best option. Optimization is essential to many machine learning algorithms, which aim to approximate the optimal solution without calculating it. 16
Orchestration
The coordination of several AI agents, or of several steps of one agent, to complete a larger task. It covers which agent works on what, in what order, with which information, and what happens when a step fails. The component that does this is called an orchestrator. We describe one in what an AI agent orchestrator does.
Overfitting
In machine learning, overfitting occurs when the program models the training data "too well," meaning that anomalies in the training data are learned and acquired as concepts. This has a negative effect on the machine learning program's accuracy, and as a result it may identify or classify data incorrectly. 17
Precision
Metric that considers true positive predictions over the total number of positive predictions (true and false) that a machine learning model makes. A very precise machine learning model has a low number of false positives. 18
Prompt
The text given to a language model to tell it what to do: instructions, examples, the question and any material it should use. Writing and testing prompts so that a model responds reliably is called prompt engineering. In a product, much of the prompt is written by the developers and the user never sees it.
Python
Programming language that is widely used in the field of machine learning. To read more about why Python is a great language for machine learning, check out our blog post.
Recall
Recall defines the proportion of actual positives that were identified correctly. It's calculated by dividing true positives by the sum of true positives and false negatives. 19
Reinforcement Learning
In machine learning, a way to train an algorithm through experience by using rewards (when it performs well) and punishments (when it performs poorly). The algorithm learns by trying to maximize its rewards and minimize its punishments. 20
Retrieval-Augmented Generation (RAG)
A technique in which the system first searches a set of documents or data for the passages relevant to a question, then gives those passages to the language model together with the question, so that the answer is based on them. It lets a model work with information it was never trained on, such as a company's internal documents, and makes it possible to show where each answer came from. The name comes from a research paper published in 2020. For one use of it, see our article on internal knowledge assistants.
Sentiment Analysis
Also opinion mining. A natural language processing (NLP) problem that aims to understand attitudes and opinions expressed in written or spoken language and turn them into structured data. Sentiment analysis has practical applications in customer service, marketing, and public relations, and is often used to analyze product reviews and social media content. 21
Speech Recognition
Ability of a computer to understand human speech. Applications of speech recognition technology include voice commands and dictation via speech-to-text conversion. Not to be confused with voice recognition (see definition below).
Supervised Learning
The most common process by which a machine learning algorithm is trained. During this process, the algorithm is given training data, and its predictions are corrected by an answer key. In this way, the algorithm is able to learn and then adjust and improve its performance. 22
Token
The unit of text that a language model reads and writes. A token can be a whole word, part of a word or a punctuation mark, so a text usually has more tokens than words. Context windows, usage limits and the cost of using a model are measured in tokens.
Tool Use
Also function calling. The ability of a language model to ask the application around it to run a function, such as searching the web, querying a database or sending a message, and to continue with the result. The model does not run anything itself: it writes a request, and the application decides whether to carry it out. Tool use is what allows an AI agent to act.
Training Data
The data a computer receives that allows it to build a machine learning model. For example, to teach a computer to recognize a handwritten letter A, it has to be fed many examples of what a handwritten A looks like, as well as examples of handwritten letters that are not A.
Transformer
The neural network design behind today's large language models, presented in 2017 in the paper Attention Is All You Need. A transformer weighs every part of a text against every other part to work out how the words relate to one another, a mechanism called attention. It is the T in GPT.
Underfitting
Occurs when a machine learning model has poor performance and can't model the training data. The solution is usually to try different algorithms. 23
Unsupervised Learning
Training process for a machine learning algorithm in which data is not labelled previously, so there is no answer key. The goal of unsupervised learning is not to produce correct answers like in supervised learning, but rather, to discover ways to understand the data by finding associations or putting it into groups. 24
Vector Database
A database built to store embeddings and to find quickly the ones closest to a given one. In retrieval-augmented generation (RAG), it is the component that finds the passages most similar in meaning to the user's question.
Voice Recognition
The ability of a computer to identify the individual speaker based on the pitch of their voice and patterns in their speech. Voice recognition can be applied to a variety of areas, including security and authentication systems and criminal investigations. 25
-
"Classification: Accuracy," Machine Learning Crash Course, Google Developers. ↩
-
Wikipedia, The Free Encyclopedia, s.v. "Machine Learning," accessed May 2, 2019. ↩
-
Encyclopᴂdia Britannica Online, s.v. "Artificial Intelligence" by B.J. Copeland, accessed May 2, 2019. ↩
-
Gil Press, "12 Big Data Definitions: What's Yours?" Forbes, September 4, 2014. ↩
-
Anadea, "What is a Chatbot and How to Use it for Your Business," Medium, January 5, 2018. ↩
-
Jason Brownlee, "A Gentle Introduction to Computer Vision," Machine Learning Mastery, March 19, 2019. ↩
-
Jason Brownlee, "Quick and Dirty Data Analysis for Your Machine Learning Problem," Machine Learning Mastery, February 14, 2014. ↩
-
Ibid. ↩
-
Cambridge Dictionary, s.v. "dataset," accessed May 2, 2019. ↩
-
"Artificial Intelligence (AI) vs. Machine Learning vs. Deep Learning," Artificial Intelligence Wiki, Skymind.ai. Jason Brownlee, "What is Deep Learning?" Machine Learning Mastery, August 16, 2016. ↩
-
"Generalization," Machine Learning Crash Course, Google Developers. ↩
-
Techopedia, s.v. "Named-Entity Recognition (NER)," accessed July 5, 2019. ↩
-
"Natural Language Processing: What It Is and Why It Matters," SAS. ↩
-
"A Beginner's Guide to Neural Networking and Deep Learning," Artificial Intelligence Wiki, Skymind.ai. ↩
-
Ibid. ↩
-
"Introduction to Mathematical Optimization," Stanford.edu. ↩
-
Jason Brownlee, "Overfitting and Underfitting with Machine Learning Algorithms," Machine Learning Mastery, March 21, 2016. ↩
-
Shruti Saxena, "Precision vs Recall," Towards Data Science, May 11, 2018. ↩
-
"Classification: Decision and Recall," Machine Learning Crash Course, Google Developers. ↩
-
Techopedia, s.v. "Reinforcement Learning," accessed May 14, 2019. ↩
-
"Sentiment Analysis: Nearly Everything You Need to Know," MonkeyLearn. ↩
-
Jason Brownlee, "Supervised and Unsupervised Machine Learning Algorithms," Machine Learning Mastery, March 16, 2016. ↩
-
Jason Brownlee, "Overfitting and Underfitting with Machine Learning Algorithms," Machine Learning Mastery, March 21, 2016. ↩
-
Jason Brownlee, "Supervised and Unsupervised Machine Learning Algorithms," Machine Learning Mastery, March 16, 2016. ↩
-
Chris Kikel, "Difference Between Voice Recognition and Speech Recognition," Total Voice Technologies. ↩