{
 "name": "AI glossary",
 "license": "CC BY 4.0",
 "version": "1.0",
 "updated": "2026-10-26",
 "terms": [
  {
   "term": "Activation function",
   "definition": "A small rule inside each neuron of a neural network that decides how strongly the neuron passes its signal on. Without it, a network could only learn straight-line relationships.",
   "example": "Like a dimmer switch that turns a weak signal down to almost nothing and lets a strong one through.",
   "since": ""
  },
  {
   "term": "Adversarial attack",
   "definition": "A deliberately crafted input meant to trick an AI model into a wrong answer, often with changes too small for a person to notice.",
   "example": "A few stickers on a stop sign that make a car’s vision system read it as a speed-limit sign.",
   "since": "2013"
  },
  {
   "term": "AGI (artificial general intelligence)",
   "definition": "A hypothetical AI able to learn and handle almost any mental task as well as a person, instead of being good at only a few things. Experts disagree on how to define it and whether or when it will exist.",
   "example": "",
   "since": "2007"
  },
  {
   "term": "AI (artificial intelligence)",
   "definition": "The field of building computer systems that perform tasks we usually link to human thinking, such as understanding language, recognizing images or making decisions.",
   "example": "Your phone sorting photos by the faces in them.",
   "since": "1956"
  },
  {
   "term": "AI agent",
   "definition": "An AI system that does more than chat: it plans steps and uses tools, such as a web browser, files or other apps, to carry out a task with some independence.",
   "example": "Asking an agent to find three hotels under $150 and put them in a spreadsheet, and it does the searching and typing itself.",
   "since": "2023"
  },
  {
   "term": "Alignment",
   "definition": "The work of making AI systems pursue the goals and values their makers and users actually intend, and avoid harmful or unwanted behaviour.",
   "example": "",
   "since": "2016"
  },
  {
   "term": "Anomaly detection",
   "definition": "Spotting data points that look very different from the normal pattern, which can signal a problem, an error or fraud.",
   "example": "Your bank flagging a card purchase made in another country at 3 a.m.",
   "since": ""
  },
  {
   "term": "Artificial neural network (ANN)",
   "definition": "The full name for a neural network: software made of many simple connected units, loosely modelled on brain cells, that learns patterns from examples. See Neural network.",
   "example": "",
   "since": "1958"
  },
  {
   "term": "Attention",
   "definition": "A technique that lets a model weigh which parts of its input matter most for each piece it produces. It is the key idea behind the transformer.",
   "example": "In “The cat sat on the mat because it was tired”, attention helps the model link “it” to “cat”.",
   "since": "2014"
  },
  {
   "term": "Autoencoder",
   "definition": "A neural network that learns to squeeze data into a compact summary and then rebuild the original from it. The summary keeps the most important features.",
   "example": "Used to clean up grainy photos or to spot unusual machine readings.",
   "since": "1986"
  },
  {
   "term": "Backpropagation",
   "definition": "The method neural networks use to learn from mistakes: it works backwards from the error and figures out how much each connection should be adjusted.",
   "example": "",
   "since": "1986"
  },
  {
   "term": "Bagging",
   "definition": "Short for “bootstrap aggregating”: training many copies of a model, each on a random sample of the data, then combining their answers to get a steadier result.",
   "example": "",
   "since": "1996"
  },
  {
   "term": "Batch normalization",
   "definition": "A step inside a neural network that rescales the numbers flowing between layers so they stay in a similar range, which helps training go faster and more smoothly.",
   "example": "",
   "since": "2015"
  },
  {
   "term": "Benchmark",
   "definition": "A standard set of tests used to measure and compare AI models on the same tasks. High scores do not always mean a model will do well on your own work.",
   "example": "A shared exam of maths and science questions that every new model is scored on.",
   "since": ""
  },
  {
   "term": "Bias",
   "definition": "Two meanings. Most often, an unfair slant in an AI’s results, usually inherited from its training data. In neural networks, it is also a small adjustable number added to each neuron.",
   "example": "A hiring tool that favours one group because past hiring data did.",
   "since": ""
  },
  {
   "term": "Boosting",
   "definition": "A way of building a strong model from many weak ones trained one after another, where each new model focuses on the mistakes of the previous ones.",
   "example": "",
   "since": "1995"
  },
  {
   "term": "Chain-of-thought",
   "definition": "Getting a model to work through a problem step by step before giving its final answer, which often improves results on maths and logic questions.",
   "example": "Adding “Explain your reasoning step by step” to a word problem.",
   "since": "2022"
  },
  {
   "term": "Chatbot",
   "definition": "A program you talk with in everyday language, by text or voice. Modern chatbots such as ChatGPT run on large language models.",
   "example": "The chat window on a store’s website that answers questions about delivery times.",
   "since": "1966"
  },
  {
   "term": "Classification",
   "definition": "A machine learning task where the model sorts each item into one of a set of categories chosen in advance.",
   "example": "Deciding whether an email is spam or not spam.",
   "since": ""
  },
  {
   "term": "Clustering",
   "definition": "Letting an algorithm group items that resemble each other, without telling it the groups beforehand.",
   "example": "A shop discovering that its customers fall into a few natural buying styles.",
   "since": ""
  },
  {
   "term": "Computer vision",
   "definition": "The branch of AI that helps computers make sense of photos and video: what is in them, where, and what is happening.",
   "example": "Self-checkout scales that recognize the apples you put on them.",
   "since": "1966"
  },
  {
   "term": "Context window",
   "definition": "The maximum amount of text, measured in tokens, that a language model can take into account at once, including your messages, any files and its own replies.",
   "example": "In a very long chat, details from the start can fall out of the window and be forgotten.",
   "since": "2020"
  },
  {
   "term": "Convolutional neural network (CNN)",
   "definition": "A kind of neural network built to read images by scanning them in small patches, first finding edges and shapes, then whole objects.",
   "example": "The technology that lets a phone camera recognize a face or a dog.",
   "since": "1989"
  },
  {
   "term": "Data augmentation",
   "definition": "Making extra training examples by slightly changing the ones you already have, so the model sees more variety.",
   "example": "Flipping, rotating or brightening photos of cats so a model learns cats in any pose or light.",
   "since": ""
  },
  {
   "term": "Decision tree",
   "definition": "A model that reaches an answer by asking a series of yes-or-no questions, branching like a flowchart until it lands on a result.",
   "example": "Is it raining? If yes, is it windy? If yes, stay home.",
   "since": "1984"
  },
  {
   "term": "Deep learning",
   "definition": "Machine learning that uses neural networks with many stacked layers. It powers most modern AI, from voice assistants to chatbots and image generators.",
   "example": "",
   "since": "2012"
  },
  {
   "term": "Diffusion model",
   "definition": "A type of generative model that creates images (or audio and video) by starting from random noise and cleaning it up step by step until a picture matching the request appears.",
   "example": "Typing “a red canoe on a misty lake” into an image generator.",
   "since": "2020"
  },
  {
   "term": "Embedding",
   "definition": "A list of numbers that represents the meaning of a word, sentence, image or document, so that items with similar meanings get similar numbers.",
   "example": "“Doctor” and “physician” end up close together; “doctor” and “banana” far apart.",
   "since": "2013"
  },
  {
   "term": "Ensemble learning",
   "definition": "Combining the answers of several models instead of trusting just one, much like asking a panel rather than a single person.",
   "example": "",
   "since": "1990"
  },
  {
   "term": "Epoch",
   "definition": "One full pass through all the training data while a model is learning. Training usually runs for several epochs.",
   "example": "Like rereading a whole textbook once; three epochs means reading it three times.",
   "since": ""
  },
  {
   "term": "Evals (evaluations)",
   "definition": "Tests designed to check how well an AI system does a specific job, or whether it behaves safely, often run again each time the system changes.",
   "example": "A company testing its support bot on 200 real customer questions before every update.",
   "since": "2023"
  },
  {
   "term": "Feature engineering",
   "definition": "Choosing, cleaning or inventing the input details (features) a model learns from, so the useful information is easier for it to find.",
   "example": "Turning a birth date into an age before predicting insurance prices.",
   "since": ""
  },
  {
   "term": "Feature scaling",
   "definition": "Putting different measurements on a comparable scale so that big numbers do not drown out small ones during training.",
   "example": "Rescaling house prices (hundreds of thousands) and room counts (1 to 10) to the same 0-to-1 range.",
   "since": ""
  },
  {
   "term": "Few-shot prompting",
   "definition": "Including a few worked examples in your prompt so the model copies the pattern. With no examples at all, it is called zero-shot.",
   "example": "Showing two product descriptions in your style, then asking for a third.",
   "since": "2020"
  },
  {
   "term": "Fine-tuning",
   "definition": "Giving an already trained model extra training on a smaller, focused set of examples so it gets better at a particular task or style.",
   "example": "Teaching a general model to write in a law firm’s house style using its past letters.",
   "since": "2018"
  },
  {
   "term": "GAN (generative adversarial network)",
   "definition": "Two neural networks trained as rivals: one creates fake samples, the other tries to tell fakes from real ones, and both improve until the fakes look convincing.",
   "example": "Early sites that showed photos of people who do not exist.",
   "since": "2014"
  },
  {
   "term": "Generative AI",
   "definition": "AI that produces new content, such as text, images, music, video or code, in response to a request.",
   "example": "Asking for a birthday poem, or an illustration for a flyer.",
   "since": "2022"
  },
  {
   "term": "GPT (generative pre-trained transformer)",
   "definition": "A family of large language models made by OpenAI, built on the transformer design and trained on huge amounts of text. ChatGPT is the chat app built on these models.",
   "example": "",
   "since": "2018"
  },
  {
   "term": "Gradient descent",
   "definition": "The step-by-step method most models use to learn: they repeatedly nudge their settings in whichever direction reduces their error the most.",
   "example": "Like walking downhill in fog by always stepping where the ground slopes down.",
   "since": "1847"
  },
  {
   "term": "Guardrails",
   "definition": "Rules and filters placed around an AI system to keep its answers safe, on topic and within policy, for example by blocking certain requests or checking replies before they are shown.",
   "example": "A bank’s chatbot that refuses to give investment tips.",
   "since": "2023"
  },
  {
   "term": "Hallucination (hallucinating)",
   "definition": "When an AI states something false or made up as if it were fact. It happens because language models predict plausible words rather than look up verified facts.",
   "example": "A chatbot citing a book or court case that does not exist.",
   "since": "2022"
  },
  {
   "term": "Hyperparameter",
   "definition": "A setting a person chooses before training starts, such as how fast the model learns or how many epochs it runs. Unlike parameters, it is not learned from the data.",
   "example": "",
   "since": ""
  },
  {
   "term": "Inference",
   "definition": "Using a model that has already been trained to produce an answer. Each time you send a message to a chatbot, the model is running inference.",
   "example": "",
   "since": ""
  },
  {
   "term": "Jailbreak",
   "definition": "A trick prompt written to get an AI to ignore its safety rules and produce something it is designed to refuse.",
   "example": "Asking the model to “pretend you are a character with no rules”.",
   "since": "2022"
  },
  {
   "term": "K-means clustering",
   "definition": "A simple way to split data into a chosen number (K) of groups: each item joins the group whose centre is closest, and the centres move until the groups settle.",
   "example": "Splitting delivery addresses into five zones, one per truck.",
   "since": "1967"
  },
  {
   "term": "K-nearest neighbors (KNN)",
   "definition": "A method that labels a new item by looking at the K most similar items it already knows and going with the majority.",
   "example": "Guessing a film’s genre from the five films most like it.",
   "since": "1951"
  },
  {
   "term": "Knowledge cutoff",
   "definition": "The date after which a model has no information because its training data stops there. Unless it can search the web, it will not know about later events.",
   "example": "",
   "since": "2022"
  },
  {
   "term": "Labeled data",
   "definition": "Examples that come with the correct answer attached, so a model can learn by comparing its guesses to the right answers.",
   "example": "Thousands of photos each tagged “cat” or “dog”.",
   "since": ""
  },
  {
   "term": "Language model (LM)",
   "definition": "A model that learns how words tend to follow one another, so it can guess the next word in a sentence and, by repeating that, write or understand text.",
   "example": "Your phone keyboard suggesting the next word as you type.",
   "since": "1948"
  },
  {
   "term": "Large language model (LLM)",
   "definition": "A language model with billions of parameters, trained on vast amounts of text. LLMs can answer questions, summarize, translate and write, and power chatbots such as ChatGPT, Claude and Gemini.",
   "example": "",
   "since": "2018"
  },
  {
   "term": "Linear regression",
   "definition": "A basic statistics method that draws the best straight line through data points to show how one quantity changes with another and to make predictions.",
   "example": "Estimating a house’s price from its size.",
   "since": ""
  },
  {
   "term": "Local model",
   "definition": "An AI model that runs on your own computer or phone instead of a company’s servers, so your data can stay on your device and it works offline.",
   "example": "Running a small open-weights model on a laptop to summarize private notes.",
   "since": "2023"
  },
  {
   "term": "Loss function",
   "definition": "A formula that scores how wrong a model’s predictions are. Training tries to make this score as low as possible.",
   "example": "",
   "since": ""
  },
  {
   "term": "LSTM (long short-term memory)",
   "definition": "A type of neural network for sequences, such as sentences or sensor readings, that can keep useful information in memory over many steps. It was widely used before transformers.",
   "example": "Older speech recognition and phone translation apps.",
   "since": "1997"
  },
  {
   "term": "Machine learning (ML)",
   "definition": "A branch of AI where computers learn patterns from examples instead of following rules written by hand, then use those patterns to predict or decide.",
   "example": "A streaming service learning what shows you like from what you watch.",
   "since": "1959"
  },
  {
   "term": "Model Context Protocol (MCP)",
   "definition": "An open standard, introduced by Anthropic in 2024, that lets AI assistants connect to outside tools and data, such as calendars, files or databases, in a common way.",
   "example": "Connecting an assistant to your calendar so it can check when you are free.",
   "since": "2024"
  },
  {
   "term": "Multimodal",
   "definition": "Describes an AI that can take in or produce more than one kind of content, such as text, images, audio and video, in the same conversation.",
   "example": "Taking a photo of a broken part and asking what it is called.",
   "since": "2023"
  },
  {
   "term": "Neural network",
   "definition": "A computer model made of layers of simple connected units that pass numbers to each other. By adjusting the strength of those connections, it learns patterns from examples.",
   "example": "",
   "since": "1958"
  },
  {
   "term": "NLP (natural language processing)",
   "definition": "The branch of AI that deals with human language: reading, understanding, translating and producing text or speech.",
   "example": "Automatic translation, spell-checkers and voice assistants.",
   "since": "1950"
  },
  {
   "term": "One-hot encoding",
   "definition": "A way to turn categories into numbers a model can use: each category gets its own column, marked 1 if it applies and 0 if not.",
   "example": "Red, green, blue become [1,0,0], [0,1,0] and [0,0,1].",
   "since": ""
  },
  {
   "term": "Open weights",
   "definition": "A model whose trained parameters (weights) are published so anyone can download, run and adapt it. This is not always fully open source, since the training data and code may stay private.",
   "example": "Meta’s Llama and Mistral’s models are well-known examples.",
   "since": "2023"
  },
  {
   "term": "OpenAI",
   "definition": "A US company founded in 2015 that makes the GPT models and launched ChatGPT in November 2022.",
   "example": "",
   "since": "2015"
  },
  {
   "term": "Overfitting",
   "definition": "When a model memorizes its training examples, including their quirks, so well that it does poorly on new data it has not seen.",
   "example": "A student who memorized last year’s exam answers but cannot solve new questions.",
   "since": ""
  },
  {
   "term": "Parameters",
   "definition": "The internal numbers a model adjusts during training and then uses to make predictions. Model size is often given as a parameter count, from millions to trillions.",
   "example": "A “7B” model has about 7 billion parameters.",
   "since": ""
  },
  {
   "term": "Precision",
   "definition": "Of all the items a model flagged as positive, the share that really were positive. High precision means few false alarms.",
   "example": "If a spam filter flags 100 emails and 90 really are spam, its precision is 90%.",
   "since": ""
  },
  {
   "term": "Prompt",
   "definition": "The text, question or instructions you give an AI model to tell it what you want. A clear prompt with context usually gets a better answer.",
   "example": "“Write a friendly 100-word welcome message for new library members.”",
   "since": "2020"
  },
  {
   "term": "Prompt engineering",
   "definition": "The skill of wording and structuring prompts, with context, examples and clear instructions, to get more useful and reliable answers from an AI model.",
   "example": "",
   "since": "2022"
  },
  {
   "term": "Prompt injection",
   "definition": "An attack where hidden instructions are slipped into content an AI reads, such as a web page, email or document, to make it do something its user did not ask for.",
   "example": "A web page with invisible text telling an AI assistant to send the user’s data elsewhere.",
   "since": "2022"
  },
  {
   "term": "RAG (retrieval-augmented generation)",
   "definition": "A method where an AI first searches a trusted collection of documents for relevant passages, then uses them to write its answer. It helps keep answers current and grounded in sources.",
   "example": "A city’s chatbot answering from its own bylaws instead of from memory.",
   "since": "2020"
  },
  {
   "term": "Random forest",
   "definition": "A model made of many decision trees, each trained on a random slice of the data; their votes are combined for a more reliable answer.",
   "example": "",
   "since": "2001"
  },
  {
   "term": "Reasoning model",
   "definition": "A language model trained to work through a problem in steps, often privately, before it answers. It is usually slower and costs more, but tends to do better on maths, coding and planning.",
   "example": "",
   "since": "2024"
  },
  {
   "term": "Recall",
   "definition": "Of all the items that really were positive, the share the model managed to find. High recall means few misses.",
   "example": "If 100 emails are spam and the filter catches 80, its recall is 80%.",
   "since": ""
  },
  {
   "term": "Regression",
   "definition": "A machine learning task where the model predicts a number rather than a category.",
   "example": "Forecasting tomorrow’s temperature or next month’s sales.",
   "since": ""
  },
  {
   "term": "Reinforcement learning",
   "definition": "A way of learning by trial and error: a program tries actions, receives rewards or penalties, and gradually figures out what works best.",
   "example": "An AI that learns to play a video game by playing it thousands of times.",
   "since": "1998"
  },
  {
   "term": "RLHF (reinforcement learning from human feedback)",
   "definition": "A training step where people compare or rate a model’s answers, and the model is then adjusted to give the kind of answers people preferred. It helped make chatbots more helpful and polite.",
   "example": "",
   "since": "2017"
  },
  {
   "term": "Supervised learning",
   "definition": "Machine learning from labeled examples, where each input comes with the right answer, so the model learns to match inputs to answers.",
   "example": "",
   "since": ""
  },
  {
   "term": "Support vector machine (SVM)",
   "definition": "A classic method that separates two groups of data by finding the boundary that leaves the widest possible gap between them. It can also predict numbers.",
   "example": "",
   "since": "1995"
  },
  {
   "term": "Synthetic data",
   "definition": "Data created by a computer, often by another AI model, rather than collected from the real world. It is used when real data is scarce, costly or private.",
   "example": "Fake but realistic patient records for testing hospital software.",
   "since": ""
  },
  {
   "term": "System prompt",
   "definition": "Background instructions given to a model before the conversation starts, usually by the company or developer, that set its role, tone and rules. Users often cannot see it.",
   "example": "“You are a polite assistant for a hardware store. Only discuss our products.”",
   "since": "2023"
  },
  {
   "term": "Temperature",
   "definition": "A setting that controls how predictable or varied a model’s output is. Low temperature gives safer, more repetitive answers; high temperature gives more creative and more random ones.",
   "example": "Low for a factual summary, higher for brainstorming slogans.",
   "since": "2020"
  },
  {
   "term": "Token",
   "definition": "The small chunk of text a language model reads and writes, often a whole word, part of a word or a punctuation mark. Usage limits and prices are usually counted in tokens.",
   "example": "“Unbelievable” might be split into “un”, “believ” and “able”.",
   "since": "2018"
  },
  {
   "term": "Training",
   "definition": "The process of showing a model large amounts of example data so it can adjust its parameters and learn to make useful predictions.",
   "example": "",
   "since": ""
  },
  {
   "term": "Transfer learning",
   "definition": "Reusing what a model learned on one task as a head start for a different but related task, so it needs far less new data.",
   "example": "A model trained on millions of everyday photos, adapted to spot plant diseases from a few hundred leaf pictures.",
   "since": ""
  },
  {
   "term": "Transformer",
   "definition": "A neural network design, introduced by Google researchers in 2017, that processes a whole sequence at once using attention. Almost all modern language models are built on it.",
   "example": "",
   "since": "2017"
  },
  {
   "term": "Underfitting",
   "definition": "When a model is too simple or too little trained to pick up the real patterns, so it does poorly even on the examples it trained on.",
   "example": "Trying to predict the weather using only the day of the week.",
   "since": ""
  },
  {
   "term": "Unsupervised learning",
   "definition": "Machine learning on data with no answers attached, where the model looks for structure on its own, such as groups or unusual items.",
   "example": "",
   "since": ""
  },
  {
   "term": "Vector database",
   "definition": "A database that stores embeddings and can quickly find the items whose meaning is closest to a question. It is often the search engine behind RAG.",
   "example": "Finding help articles about “refund” even when they only say “money back”.",
   "since": "2019"
  }
 ]
}