An autonomous system that perceives its environment, reasons about goals, and takes actions iteratively to achieve outcomes without human intervention at each step.
“The customer service agent used RAG to fetch account history, then decided whether to escalate to a human or resolve the issue directly.”
Origin: From AI and reinforcement learning literature, formalized in the 1990s; accelerated in LLM context post-2023.
The process of steering AI systems to behave in accordance with human values, intentions, and safety constraints.
“The team invested heavily in alignment research to ensure the model refused harmful requests without being brittle.”
Origin: Borrowed from physics and engineering; applied to AI ethics circa 2016, became urgent in LLM safety work.
A neural network mechanism that weights different parts of input data, allowing the model to focus selectively on relevant information.
“The transformer's attention heads learned to focus on pronouns when resolving coreference, ignoring irrelevant words.”
Origin: Introduced in Bahdanau et al., 2014; became central to transformer architecture, 2017.
A parallel attention mechanism within a transformer layer; each head learns to weight different relationships in the data independently.
“The model's 12 attention heads each specialized; one tracked grammar, another tracked named entities, a third tracked narrative flow.”
Origin: Core component of 'Attention Is All You Need', 2017.
A model architecture that predicts the next token sequentially, conditioning each prediction only on previously generated tokens.
“GPT is autoregressive, which is why it can stream output one word at a time and why it struggles with tasks requiring true bidirectional reasoning.”
Origin: Statistical term from time-series analysis, adapted for language models in the 2010s.
A standardized test or dataset used to measure and compare the performance of AI models on specific tasks.
“The model scored 92% on the MMLU benchmark, but that didn't translate to real-world accuracy on domain-specific legal questions.”
Origin: General term for reference standard; formalized in ML evaluation circa 2000s.
Systematic errors in model predictions or training data that reflect or amplify social inequities, stereotypes, or unrepresentative patterns.
“The hiring model showed gender bias after training on historical data where men held most senior positions.”
Origin: Statistical term; applied to AI discrimination concerns circa 2015 onwards.
A model architecture that processes input data in both forward and backward directions, allowing context from both sides of a token.
“BERT is bidirectional, which makes it excellent for classification but poor for generation since it can't naturally predict left-to-right.”
Origin: Introduced in BERT paper, 2018; contrasts with autoregressive models.
A prompting technique where the model is encouraged to show intermediate reasoning steps before reaching a final answer.
“By asking the model to 'think step by step' before solving a math problem, chain-of-thought prompting improved accuracy by 30%.”
Origin: Formalized by Wei et al., 2022; became core to prompt engineering strategy.
A conversational AI system designed to simulate human dialogue, typically responding to user queries in natural language.
“The customer support chatbot handled 70% of routine questions, escalating complex issues to human agents.”
Origin: Portmanteau of 'chat' and 'robot'; ELIZA in 1960s was first; term popularized widely post-2020.
A machine learning task where the model assigns input data to predefined categories or labels.
“The sentiment classification model sorted customer reviews into positive, neutral, and negative buckets.”
Origin: Core ML task, formalized in statistical learning theory.
The maximum span of input tokens a model can process at once; tokens beyond this window are discarded or ignored.
“Claude's 200K context window allows it to analyze entire books, while older models with 4K windows struggle with long documents.”
Origin: Emerged as key metric post-2023 as models grew longer context lengths.
A large, curated collection of text or data used to train or evaluate language models.
“The model was trained on a corpus of 10 billion tokens drawn from books, Wikipedia, and web pages.”
Origin: Latin for 'body'; used in linguistics for centuries; formalized in computational linguistics.
Unintended exposure of test or validation data to the training set, causing artificially inflated performance metrics.
“The benchmark score was invalidated when auditors discovered test examples had leaked into the training corpus.”
Origin: Identified as a major concern in ML evaluation circa 2010s; acute in LLM era.
A subset of machine learning using neural networks with multiple layers to learn hierarchical representations of data.
“Deep learning revolutionized computer vision by automatically learning features rather than requiring hand-engineered ones.”
Origin: Term popularized by Hinton, LeCun, and Bengio in 2006; breakthrough with GPUs in 2010s.
A generative process that gradually removes noise from random data to produce structured outputs; core technique in image generation models.
“Stable Diffusion iteratively denoises random pixels into coherent images matching text descriptions.”
Origin: Adapted from statistical physics; formalized for generative modeling by Ho et al., 2020.
A numerical representation of text, images, or other data as a vector in high-dimensional space, capturing semantic meaning.
“Word embeddings place 'king' and 'queen' close together in vector space because they share semantic properties.”
Origin: Concept from neural networks; popularized by Word2Vec, 2013; core to modern retrieval.
The first half of a transformer architecture that processes input and produces a compressed representation or 'encoding'.
“BERT is an encoder-only model, excelling at understanding text but unable to generate new content.”
Origin: General architecture term; formalized in transformer context, 2017.
One complete pass through the entire training dataset during model training.
“Training for 10 epochs means the model sees each training example 10 times.”
Origin: General ML term; standard in training workflows since early neural networks.
The process of measuring model performance on unseen data using metrics like accuracy, perplexity, or task-specific scores.
“The evaluation set showed the model performed well on common queries but struggled with edge cases.”
Origin: Standard ML practice; formalized in statistical learning theory.
Adapting a pre-trained model to a specific task or domain by training it on a smaller, task-specific dataset.
“Fine-tuning a base LLM on 10K legal documents produced a specialized model that understood contract terminology.”
Origin: General ML term; became dominant strategy for LLMs post-2022.
A learning paradigm where a model performs well on new tasks after seeing only a handful of examples.
“With just three examples of email classification, the LLM correctly classified new messages without retraining.”
Origin: Contrasts with zero-shot and one-shot; formalized in meta-learning literature.
A large, general-purpose model trained on broad data that can be adapted to many downstream tasks with minimal additional training.
“GPT-4 is a foundation model; it serves as the base for countless specialized applications from coding to legal analysis.”
Origin: Term coined by Stanford HAI, 2021; became dominant framework for modern AI.
A model capable of creating new data (text, images, audio) that resembles its training distribution.
“Generative AI models can write essays, compose music, or paint images, unlike discriminative models that only classify.”
Origin: Statistical term; applied to deep learning post-2010s.
Graphics Processing Unit; a hardware accelerator optimized for parallel computation, essential for training and running large models.
“Training GPT-scale models requires thousands of GPUs working in parallel for weeks.”
Origin: Technology developed for graphics; repurposed for AI circa 2010s.
An optimization algorithm that iteratively adjusts model weights by moving in the direction of steepest loss reduction.
“Gradient descent updated the model's parameters millions of times, each step reducing prediction error slightly.”
Origin: Core optimization algorithm; foundational to neural networks since Rumelhart et al., 1986.
Connecting model outputs to real-world facts, data, or sources to reduce hallucinations and improve accuracy.
“The system used grounding to cite specific Wikipedia articles when answering historical questions.”
Origin: Emerged as critical practice post-2022 as hallucinations became liability.
Model outputs that sound plausible but are factually false, invented, or not supported by training data or context.
“The model hallucinated a fake study title when asked for references, confidently presenting it as real.”
Origin: Metaphorical term; became standard in LLM discourse circa 2022.
Configuration settings that control training behavior, such as learning rate, batch size, or model architecture choices.
“Tuning the learning rate hyperparameter from 0.001 to 0.0001 dramatically improved convergence.”
Origin: Formalized in ML literature; became critical as models grew complex.
The process of running a trained model on new input to generate predictions or outputs.
“Inference on a single query takes 50ms, making the model suitable for real-time applications.”
Origin: General term; applied to neural networks and LLMs consistently.
The ability of a model to learn from examples provided within the prompt itself, without updating weights.
“By showing the model two examples of email classification in the prompt, it learned the pattern and applied it to new emails.”
Origin: Observed emergent behavior in large LLMs; formalized by Brown et al., 2020.
Fine-tuning a model on examples of tasks phrased as instructions, teaching it to follow diverse directions.
“After instruction tuning on 100K diverse tasks, the model could handle novel requests without retraining.”
Origin: Formalized in InstructGPT and related work, 2022.
A prompt or technique designed to circumvent a model's safety constraints and elicit harmful or restricted outputs.
“Security researchers tested jailbreak attempts to find vulnerabilities before deployment.”
Origin: Metaphor from computer security; applied to LLMs circa 2022.
#34knowledge distillation
/ˈnɒlɪdʒ ˌdɪstɪˈleɪʃən/full entry → Training a smaller model to mimic a larger, more accurate model, creating efficient approximations.
“Knowledge distillation compressed a 7B parameter model into a 1B model with only 5% accuracy loss.”
Origin: Introduced by Hinton et al., 2015; scaled aggressively for LLM efficiency.
The compressed, abstract representation of data learned by a model, where similar concepts cluster together.
“In the model's latent space, 'dog' and 'wolf' were positioned close together, reflecting semantic similarity.”
Origin: Concept from variational autoencoders and representation learning.
A computational unit in a neural network that applies transformations to data; stacking layers creates depth.
“The 96-layer transformer progressively refined its understanding of language through each successive layer.”
Origin: Foundational concept in neural networks since McCulloch and Pitts, 1943.
A hyperparameter controlling the size of weight updates during training; too high causes instability, too low causes slow convergence.
“Setting the learning rate to 0.001 allowed smooth training, while 0.1 caused the loss to explode.”
Origin: Core concept in optimization; formalized in early neural network training.
Large Language Model; a neural network trained on vast text data that generates human-like text and performs diverse language tasks.
“Modern LLMs like GPT-4 and Claude can write, code, analyze, and reason across hundreds of billions of parameters.”
Origin: Acronym; term formalized as models crossed billion-parameter thresholds post-2018.
A numerical measure of how far model predictions deviate from correct answers; training minimizes this value.
“As training progressed, the loss decreased from 5.2 to 0.8, indicating the model was learning.”
Origin: Statistical and optimization term; standard in ML since early algorithms.
A field of AI where systems improve performance on tasks through exposure to data rather than explicit programming.
“Machine learning powered the recommendation engine that suggests products based on browsing history.”
Origin: Term coined by Arthur Samuel, 1959; became dominant AI paradigm post-2000s.
Model Context Protocol; a standard for connecting LLMs to external tools and data sources like databases and APIs.
“Through MCP, the model could query a real-time weather API and return current forecasts without hallucinating.”
Origin: Emerging protocol circa 2024-2026 for standardizing tool integration.
Mechanisms allowing models to retain and reference information across conversations or sessions.
“The chatbot used conversation memory to recall previous messages, providing contextually relevant responses.”
Origin: Applied to LLMs circa 2023 as long-context and retrieval improved.
A quantitative measure used to evaluate model performance, such as accuracy, F1 score, or BLEU.
“The model achieved 94% accuracy on the test set, but the F1 score of 0.82 revealed class imbalance issues.”
Origin: General term; formalized in ML evaluation frameworks.
Mixture of Experts; an architecture where different subnetworks specialize in different types of input.
“The MoE model routed math problems to a math-specialist expert and language questions to a language expert.”
Origin: Proposed by Jacobs et al., 1991; scaled for LLMs post-2021.
A model that processes and generates multiple types of data, such as text, images, and audio simultaneously.
“GPT-4 Vision is multimodal, accepting both text and images and generating text responses about visual content.”
Origin: Term from cognitive science; applied to AI models post-2020.
A computational model inspired by biological neurons, consisting of interconnected layers that learn patterns through training.
“The neural network adjusted millions of weights to learn to recognize handwritten digits.”
Origin: Concept from McCulloch and Pitts, 1943; modern deep learning boom post-2010s.
Techniques that scale or standardize inputs and activations during training to improve stability and convergence.
“Layer normalization kept activations within a stable range, preventing training from diverging.”
Origin: Introduced for batch normalization by Ioffe and Szegedy, 2015.
A learning paradigm where a model performs a task after seeing exactly one example.
“With one-shot learning, the model saw one email classified as spam and then correctly identified similar emails.”
Origin: Intermediate concept between zero-shot and few-shot; formalized in meta-learning.
When a model learns training data too specifically, capturing noise rather than generalizable patterns, causing poor performance on new data.
“The model achieved 99% accuracy on training data but only 70% on the test set, indicating severe overfitting.”
Origin: Core ML concern since statistical learning theory; addressed through regularization.
A learnable weight or value in a model that gets adjusted during training to minimize loss.
“GPT-3 has 175 billion parameters; each one is fine-tuned during training.”
Origin: Statistical term; applied to neural networks consistently.
A metric measuring how surprised a model is by unseen data; lower values indicate better predictions.
“The model achieved a perplexity of 12 on the test set, meaning it was as confused as if guessing from 12 equally likely options.”
Origin: Information-theoretic measure; standard metric for language model evaluation.
A sequence of processing steps that transform raw data into model-ready inputs and outputs.
“The NLP pipeline tokenized text, removed stop words, and converted tokens to embeddings.”
Origin: General software engineering term; applied to ML workflows.
Initial training of a model on large, broad datasets before fine-tuning on specific tasks.
“GPT-4 was pre-trained on trillions of tokens from diverse internet text before fine-tuning for instruction following.”
Origin: Became dominant approach post-2018 as scale benefits emerged.
The input text or instruction given to a model, shaping what the model generates.
“The prompt 'Summarize this article in three sentences' directed the model to produce concise output.”
Origin: Term from human-computer interaction; became central to LLM usage.
The practice of crafting effective prompts to guide models toward desired outputs.
“Adding 'Think step by step' to the prompt improved math accuracy by 40%.”
Origin: Emerged as critical skill post-2022 as LLMs became mainstream.
Reducing model precision by representing weights and activations with fewer bits, making models smaller and faster.
“Quantizing the 8-bit model to 4-bit reduced memory usage by 50% with minimal accuracy loss.”
Origin: Signal processing technique; adapted for neural networks post-2010s.
Retrieval-Augmented Generation; augmenting LLM outputs by retrieving relevant documents or data before generation.
“The system used RAG to fetch recent news articles before answering current events questions, avoiding hallucinations.”
Origin: Formalized by Lewis et al., 2020; became production standard post-2022.
The model's ability to perform logical inference, multi-step problem-solving, and causal inference.
“Advanced reasoning allowed the model to solve novel math problems by decomposing them into steps.”
Origin: Cognitive science term; applied to AI capabilities circa 2022 onwards.
Techniques that prevent overfitting by penalizing model complexity, such as dropout or weight decay.
“Adding L2 regularization reduced overfitting by discouraging large weights.”
Origin: Statistical learning theory; standard in neural networks since early work.
#60reinforcement learning
/ˌriːɪnfɔːsmənt ˈlɜːrnɪŋ/full entry → A learning paradigm where agents learn by receiving rewards or penalties for actions, optimizing cumulative reward.
“Reinforcement learning trained the model to play chess by rewarding winning moves.”
Origin: Formalized by Sutton and Barto; became prominent in AI post-1990s.
Reinforcement Learning from Human Feedback; fine-tuning models using human preferences as reward signals.
“RLHF trained the model to produce helpful, harmless responses by rewarding outputs humans preferred.”
Origin: Introduced in InstructGPT paper, 2022; became standard for alignment.
Techniques for generating diverse outputs by probabilistically selecting tokens rather than always picking the most likely one.
“Temperature-based sampling made the model's creative writing more varied and less repetitive.”
Origin: Statistical technique; applied to LLM generation for diversity.
Empirical relationships showing how model performance improves with increases in scale like parameters, data, or compute.
“Scaling laws showed that doubling compute roughly improved performance by 8%, guiding investment decisions.”
Origin: Formalized by Kaplan et al., 2020; became central to AI strategy.
A mechanism where each token attends to all other tokens in the sequence, learning relationships within input.
“Self-attention allowed the model to resolve that 'it' referred to 'the book' rather than 'the table'.”
Origin: Introduced in 'Attention Is All You Need', 2017; core to transformers.
Relating to meaning in language; semantic understanding captures what words and phrases signify.
“Semantic search found documents about 'cars' when users searched 'automobiles', understanding meaning rather than exact words.”
Origin: Linguistics term; applied to AI and NLP.
Supervised Fine-Tuning; training a model on labeled examples where correct outputs are explicitly provided.
“SFT on 50K question-answer pairs taught the model to answer questions accurately.”
Origin: Standard training paradigm; formalized in LLM fine-tuning literature.
A mathematical function that converts raw model outputs into probability distributions over possible tokens.
“The softmax layer converted logits into probabilities, making 'the' have 45% and 'a' have 30% probability.”
Origin: Statistical function; standard in neural networks since early work.
A model or representation where most values are zero, reducing computational cost and memory usage.
“Sparse attention only computes attention between nearby tokens, making long sequences tractable.”
Origin: General mathematical concept; applied to efficient neural networks.
Involving randomness or probability; stochastic training uses random samples rather than full data.
“Stochastic gradient descent updated weights using random batches, converging faster than batch gradient descent.”
Origin: Probability term; applied to optimization in neural networks.
A machine learning approach where models learn from labeled training data with correct input-output pairs.
“Supervised learning trained the model on thousands of emails labeled as spam or not spam.”
Origin: Core ML paradigm; formalized in statistical learning theory.
A model tendency to agree with users or tell them what they want to hear rather than providing honest answers.
“The model exhibited sycophancy, agreeing with incorrect user claims instead of politely correcting them.”
Origin: Emerged as documented LLM failure mode circa 2023.
A hyperparameter controlling output diversity; higher values increase randomness, lower values make outputs more deterministic.
“Setting temperature to 0 made the model always pick the most likely token, producing consistent but repetitive output.”
Origin: Metaphor from statistical mechanics; standard in LLM generation.
A multi-dimensional array of numbers; the fundamental data structure in deep learning frameworks.
“Images are represented as 3D tensors with dimensions for height, width, and color channels.”
Origin: Mathematical concept; applied to neural networks in modern frameworks.
The smallest unit of text a model processes, typically a word, subword, or character.
“The phrase 'hello world' might be tokenized into two tokens or split into smaller subword tokens.”
Origin: Applied to NLP; became central metric for LLM cost and capability.
A tool that splits text into tokens for processing by the model.
“The GPT tokenizer splits 'don't' into three tokens: 'do', 'n', 't'.”
Origin: NLP preprocessing step; formalized for LLMs.
A sampling technique that only considers the k most likely next tokens, reducing unlikely choices.
“Top-k sampling with k=50 prevented the model from generating rare, nonsensical words.”
Origin: Proposed for more coherent text generation; standard in LLM APIs.
A sampling technique that includes only tokens until the cumulative probability reaches p, adapting to context.
“Top-p with p=0.9 selected diverse but sensible tokens, avoiding both repetition and randomness.”
Origin: Introduced for more adaptive text generation; widely used in modern LLMs.
The process of adjusting model weights using data and optimization algorithms to minimize loss.
“Training the 70B model took two months on 1000 GPUs.”
Origin: Core ML concept; formalized since neural networks.
Leveraging knowledge from one task or domain to improve performance on a different but related task.
“Transfer learning allowed a medical model pre-trained on general text to quickly adapt to clinical notes.”
Origin: Formalized in ML literature; became dominant with deep learning.
A neural network architecture based on self-attention mechanisms, enabling parallel processing and long-range dependencies.
“Transformers power nearly all modern LLMs due to their efficiency and ability to capture long-distance relationships.”
Origin: Introduced in 'Attention Is All You Need', 2017; revolutionized NLP.
#81unsupervised learning
/ˌʌnsəˈpɜːrvɪzd ˈlɜːrnɪŋ/full entry → A machine learning approach where models learn patterns from unlabeled data without explicit correct answers.
“Unsupervised learning clustered customer data into segments without predefined categories.”
Origin: Core ML paradigm; contrasts with supervised learning.
A database optimized for storing and retrieving high-dimensional vectors, enabling semantic search.
“The vector database stored embeddings of 10 million documents, enabling instant semantic search for RAG.”
Origin: Emerged as critical infrastructure post-2022 for RAG systems.
The set of unique tokens a model can produce; models can't generate tokens outside their vocabulary.
“The model's 50K vocabulary limited it to common words and subword units.”
Origin: Linguistic term; applied to tokenization.
A learnable parameter in a neural network that scales inputs, adjusted during training to improve predictions.
“The model adjusted billions of weights to learn patterns that predicted outcomes.”
Origin: Core neural network concept since McCulloch and Pitts.
Performing a task without seeing any examples, relying solely on the model's pre-training.
“Zero-shot translation allowed the model to translate languages it was never explicitly trained to translate.”
Origin: Formalized in meta-learning; became standard terminology with LLMs.
A non-linear function applied to layer outputs, enabling neural networks to learn complex patterns.
“ReLU activation made the model non-linear, allowing it to learn beyond simple linear mappings.”
Origin: Early neural networks; ReLU introduced by Nair and Hinton, 2010.
The algorithm that computes gradients backward through a neural network, enabling weight updates.
“Backpropagation efficiently calculated gradients for all 175 billion parameters.”
Origin: Formalized by Rumelhart, Hinton, and Williams, 1986; revolutionized neural networks.
A subset of training data processed together; using batches improves efficiency and stability.
“Training with batches of 256 examples was faster than processing one example at a time.”
Origin: Practical necessity in neural network training.
The point at which training loss stops decreasing significantly, indicating the model has learned.
“The model converged after 50,000 iterations, with loss stabilizing around 0.15.”
Origin: Mathematical concept; applied to neural network training.
The second half of a transformer that generates output tokens sequentially, conditioned on encoder representations.
“The decoder generated translations by attending to the encoder's representation of the source text.”
Origin: General architecture term; formalized in transformer context.
A model that learns decision boundaries to classify inputs, rather than modeling data distribution.
“Discriminative classifiers directly predict labels, while generative models first model the data.”
Origin: Statistical learning theory; contrasts with generative.
Adapting a model trained on one domain to perform well on a different domain with different data distribution.
“Domain adaptation allowed a model trained on product reviews to work on movie reviews.”
Origin: Formalized in transfer learning literature.
A regularization technique that randomly disables neurons during training, preventing co-adaptation.
“Dropout with 20% rate randomly silenced neurons, forcing the network to learn redundant representations.”
Origin: Introduced by Hinton et al., 2012; became standard regularization.
Unexpected capabilities appearing in large models that weren't present in smaller versions, not explicitly trained for.
“In-context learning emerged as an unexpected capability in GPT-3 despite never being trained on it.”
Origin: Observed and formalized post-2020 in large language models.
A measure of uncertainty or disorder; high entropy means many possible outcomes are likely.
“High entropy sampling produced diverse outputs, while low entropy sampling was more deterministic.”
Origin: Physics and information theory; applied to probability and AI.