CATEGORY · 41 AI terms
AI fundamentals
Core concepts for understanding AI.
TERMS
41 terms in this topic
Vector
A vector is an ordered list of numbers. In AI embedding applications, it can represent the meaning of a word, sentence, image or piece of code so that a computer can work with it. Models are trained so that items with similar meanings end up close together in this vector space.[1][2] Vectors produced this way are often called embeddings.[2][3]
Knowledge Distillation
Knowledge distillation
Knowledge distillation is a model compression technique in which a small "student" model is trained to imitate the output probability distribution of a larger "teacher" model, so the smaller model keeps as much of the teacher's performance as possible. Instead of learning only from the correct labels, the student also learns from the probabilities the teacher assigns to every option (soft targets). A student trained this way can do better than the same small model trained on labels alone. The term and the widely used temperature-based method come from a 2015 paper by Geoffrey Hinton, Oriol Vinyals and Jeff Dean at Google, which built on earlier model-compression work by Rich Caruana and colleagues.[1] For large language models, the term is also used more loosely for fine-tuning a small model on text generated by a larger one.[4]
DPO
DPO stands for Direct Preference Optimization. It is a post-training method that aligns a language model with human preferences by training it directly on pairs of answers in which people marked one answer as better than the other.[1] Classic RLHF first fits a separate reward model on preference data and then fine-tunes the language model with reinforcement learning. DPO skips both of those steps and optimizes the standard RLHF objective with a single preference-training stage that works like a simple classification loss.[1] Proposed by Stanford University researchers in 2023 and presented at NeurIPS 2023, it is now a common choice for the preference step that follows SFT.[1][2][3]
Transformer
The Transformer is a neural network architecture introduced by a Google research team in 2017. Instead of reading text one word at a time, it uses self-attention to compute how tokens in a sequence relate to one another, and it processes those relationships in parallel.[1][2] Decoder models can restrict attention to earlier tokens and still generate new tokens sequentially.
Training
Training is the process in which an AI model learns from data by repeatedly adjusting its internal weights to reduce prediction error. For large language models it usually has stages: pre-training on a very large text corpus, followed by post-training such as supervised fine-tuning and preference-based reinforcement learning.[1][3]
Token
A token is the basic unit a large language model (LLM) uses to read and write text. A token can be a character, part of a word, a whole word or a punctuation mark.[1] Token counts set how much text fits in one request and how API usage is billed: input and output tokens are counted and priced separately.[1][5]
Diffusion
A diffusion model is a type of generative AI model that learns to reverse a gradual noising process. To create something new, it starts from random noise and removes the noise step by step until an image, video, or other output appears.[1] This approach underlies image and video generators such as Stable Diffusion, DALL·E 2, Sora, and Veo.[3][4][6][9]
Throughput
Throughput is a performance metric for AI model serving: how much work an LLM service completes per unit of time. It is usually measured as output tokens per second (TPS) across all simultaneous requests, or as completed requests per second (RPS).[1] It is reported alongside latency, which measures how long a single request waits.[1][5]
Hallucination
In AI reliability, hallucination refers to an AI model, typically a large language model (LLM), generating information that is false or unsupported while presenting it fluently, as if it were fact.[1][2]
Grounding
Grounding ties a generative AI model's answer to external information that can be checked, so the answer stays consistent with real facts. Google Cloud describes grounding as giving a large language model external information to root its response in reality, which reduces the chance that it hallucinates or makes things up.[2] Grounding is the broader idea; retrieval-augmented generation (RAG), which retrieves relevant material from a knowledge base and passes it to the model as context, is a common way to implement it.[2] Grounded answers can also include source links, so people can trace where a claim came from and check it later.[2][8]
SWE-bench
SWE-bench is a coding benchmark that tests whether a language model can resolve real software issues. Introduced in October 2023, it contains 2,294 tasks built from real GitHub issues and the pull requests that fixed them in 12 popular Python repositories. The model receives the issue text and the codebase, edits the code, and is scored as resolved when the benchmark’s required tests pass.[1][6] The paper was published at ICLR 2024.[2]
Context Window
Context window
A context window is the maximum number of tokens a large language model (LLM) can take into account in a single request, counting both the input and the output it generates. Everything in the request counts toward it, including system instructions, earlier conversation turns, attached documents and the response itself.[7] Its size sets how much of a long document or codebase the model can work with at once.[1]
Speculative Decoding
Speculative decoding is an inference speed-up technique for large language models. A small, fast draft model proposes several next tokens, and the large target model checks them all in one parallel pass, keeping every token up to the first one it rejects.[1] From that point the target model supplies a replacement token under its decoding rule and the cycle repeats. A special sampling rule guarantees that the output follows the same probability distribution as the target model running alone, allowing speed gains without changing the intended sampling distribution, subject to numerical precision.[1][8] Google researchers published the method in 2022, and DeepMind described the same idea as "speculative sampling" in early 2023.[1][2]
SLM (Small Language Model)
SLM stands for small language model: a compact AI language model designed to run quickly with little memory and power, on a phone, a laptop or a company's own servers. There is no single official size cut-off. Typical examples have a few billion parameters, such as Microsoft's 3.8B phi-3-mini and Apple's roughly 3B on-device model, and AWS describes SLMs as models with fewer than 20 billion parameters.[1][3][9]
Closed Model
A closed model is an AI model whose trained weights are not released. The developer typically keeps the model on infrastructure it controls and offers access as a service, for example through its apps, its API or partner cloud platforms. In Stanford's 2024 Foundation Model Transparency Index, OpenAI (GPT-4), Anthropic (Claude 3) and Google (Gemini 1.0 Ultra) were classed as closed developers.[3] "Closed" describes how a model is released, not a whole company: OpenAI also publishes open-weight gpt-oss models under the Apache 2.0 license.[9]
SFT
SFT stands for supervised fine-tuning. It is a post-training step in which a pretrained language model is trained further on example prompts paired with desired answers, often written by humans, so that it learns to follow instructions.[1] A base model trained only on raw text tends to continue text rather than carry out a request. A common recipe is therefore to teach response format and behavior with SFT first, then apply preference optimization such as RLHF or DPO.[1][7] ChatGPT's first version was built this way: an initial model trained with SFT, then refined with RLHF.[2]
Foundation Model
Foundation model
A foundation model is a general-purpose AI model trained on broad data at scale and then adapted, for example through fine-tuning, to a wide range of downstream tasks. Researchers at Stanford's Center for Research on Foundation Models (CRFM) coined the term in an August 2021 report, "On the Opportunities and Risks of Foundation Models," citing BERT, DALL-E and GPT-3 as examples.[1] The name stresses that one model becomes the shared base for many applications, such as chatbots, translation and coding tools. The EU AI Act sets obligations for providers of general-purpose AI (GPAI) models, a legal category distinct from the research term foundation model and presumes a model has "high-impact capabilities," and therefore possible systemic risk, when its cumulative training compute exceeds 10^25 floating-point operations (FLOPs).[2]
Reinforcement Learning
Reinforcement learning
Reinforcement learning trains an agent to select actions using feedback expressed as rewards. The objective often concerns cumulative reward over interactions, so the reward design and environment strongly shape learned behavior. [1][3]
Quantization
Quantization represents model values with a lower-precision format or a reduced set of values. It can reduce weight storage and memory needs, but effects on latency and accuracy depend on the method, hardware, and workload. [1][2]
Pre-training
Pre-training develops a model’s initial learned representations from a broad dataset before task-specific adaptation. Language models often use objectives such as predicting the next token or reconstructing masked text; the objective and data depend on the model. [1][2]
Reasoning Model
Reasoning model
A reasoning model is a language model designed or trained to devote additional computation to solving problems before producing its answer. Approaches vary, including reinforcement learning and inference-time strategies; longer processing does not guarantee a correct result. [1]
Benchmark
An AI benchmark is a defined set of tasks and an evaluation procedure used to measure performance. A score is meaningful with its dataset version, metric, model, tools, and test conditions attached. Benchmarks can assess different abilities; they are not a single universal measure of usefulness.[1][2][3][4]
Attention Mechanism
An attention mechanism computes different weights for information and combines it according to relevance to the current computation. The 2014 translation paper lets a decoder draw on relevant source positions instead of relying only on one fixed-length representation.[2] The Transformer uses attention as a central architectural component.[1]
Parameter
A model parameter is an internal numerical value adjusted during training. Parameter counts describe one aspect of model size and are often reported in billions, abbreviated B. Total parameters and parameters activated per token can differ in sparse models. [1][2]
Overfitting
Overfitting occurs when a model fits the training data in ways that do not generalize well to new data. It may exploit noise or incidental patterns. Evaluation on held-out data helps reveal the gap, although a new deployment environment can introduce additional distribution changes.
Open Weights
Open weights describes making a trained model’s parameter files available for use under specified terms. Access to weights does not by itself establish unrestricted use or satisfy the broader requirements of open source AI. [1]
Optical Character Recognition (OCR)
OCR converts visible characters in images or scanned documents into machine-readable text. Document-processing systems may add layout analysis and structured field extraction beyond recognizing the characters. [1][2]
Natural Language Processing (NLP)
Natural language processing is the field of computational methods for analyzing and generating human language. Tasks include classification, translation, information extraction, and question answering; large language models are one approach within the field. [1]
Multimodal
Multimodal AI processes multiple information types, such as text, images, and audio. Supported combinations differ by model and product.[1][2]
AI Literacy
AI literacy is the knowledge, skills, and judgment needed to understand AI, interpret its output, and make informed decisions about its use and risks. It includes knowing when to check a result or avoid a tool, not only how to write a prompt.[1][2]
AI Agent
AI agent
An AI agent is a system that selects actions to pursue a goal, often using tools and feedback. In Anthropic’s LLM-system distinction, agents dynamically direct their process and tool use, while workflows follow predefined code paths. The term can be used more broadly, so specify the system you mean.[1]
AI
AI means artificial intelligence: a broad field of systems that perform tasks involving inference, perception, language, or decision support. The OECD’s operational definition describes a machine-based system inferring outputs such as predictions, content, recommendations, or decisions from input; autonomy and adaptiveness vary.[1]
LoRA
LoRA means Low-Rank Adaptation. It freezes pretrained weights and trains small low-rank updates instead of retraining all parameters. The original 2021 paper reports substantial parameter and memory savings in specific experiments.[1]
Latency
Latency is the time an AI request takes to produce a response. Distinguish time to first token (TTFT), when output begins, from time to last token (TTLT), when generation completes.[1]
Fine-tuning
A term used in AI model training. It is a training method that retrains an already-pretrained large model on additional data from a specific field to adapt it to a domain, tone, or format.
Inference
A term used in AI model operations. It refers to the stage in which an already-trained model receives real inputs, computes results, and returns them. Every moment when a user receives an answer from a service like ChatGPT is inference.
Neural Network
Neural network
A term used in AI fundamentals. It is a core AI model architecture inspired by how neurons in the human brain exchange signals, designed to transform inputs and make predictions through multiple layers of nodes.
Supervised learning
Training a model with examples that pair inputs with target answers, also called labels.
Generative AI
A term used in AI applications, it refers to the broad range of AI (Artificial Intelligence) technologies that generate new content, such as text, images, code, speech, and video, in response to people’s requests.
Deep Learning
Deep learning
A term used in AI fundamentals, it is a machine learning technique that trains multilayer neural networks inspired by the structure of the human brain on data, enabling computers to recognize and generate images, speech, and sentences themselves.
Machine Learning
Machine learning
Short for Machine Learning, a term used in AI fundamentals, it is a core artificial intelligence technique that trains computers to discover rules on their own from data.