AI fundamentals & models · Page 11
AI models, how they work and the limits of automatically generated answers.
860 terms · Page 11 of 15
- AI fundamentals & models
Prefix Cache
A cache of already computed model states for token-identical initial sequences under compatible model and inference configuration.
- AI fundamentals & models
Prefix Tuning
A PEFT method that optimizes learnable continuous prefix vectors while keeping the actual model weights frozen.
- AI fundamentals & models
Pretraining
Training a model on a broad base task or large dataset before adapting it to specific target tasks.
- AI fundamentals & models
Progressive Shrinking
A training method in which a supernet is gradually made robust for smaller depths, widths, kernels, or resolutions.
- AI fundamentals & models
Prompt Caching / Prefix Caching
Prompt and prefix caching reuse previously computed states of identical input beginnings. This means a model does not have to fully reprocess this common part of later requests. Whether time or costs decrease depends on the provider, model, cache hits, and pricing plan.
- AI fundamentals & models
Prompt Compression
Prompt compression reduces the size of an input, for example by selecting, condensing, or removing less relevant parts.
- AI fundamentals & models
Prompt Injection
In prompt injection, inputs alter the behavior or output of a language model in unintended ways. This can happen directly via user inputs or indirectly via external sources such as websites or files. Possible consequences include violated policies, harmful content, unauthorized access, or influenced decisions; type and severity depend on the context of use and the model's scope of action.
- AI fundamentals & models
Prompt Leakage
Prompt leakage refers to the unintended disclosure of prompt components, such as internal rules or secrets mistakenly stored there.
- AI fundamentals & models
Prompt Tuning
Prompt tuning trains additional continuous input vectors for a task, while the weights of the underlying model typically remain unchanged.
- AI fundamentals & models
Prophet
Prophet is a tool for time series forecasting that models trend, seasonal patterns, and holiday effects, among others.
- AI fundamentals & models
Proximal Policy Optimization (PPO)
A family of on-policy policy gradient methods that limit strategy changes via a clipped probability ratio or a KL-based penalty variant.
- AI fundamentals & models
Q-Former
The Q-Former in BLIP-2 extracts image information using learnable queries and conveys it to a pretrained language model.
- AI fundamentals & models
Q-Function
The state-action value function: the expected, possibly discounted cumulative return when a specific action is chosen in a state and then a fixed policy is followed.
- AI fundamentals & models
Q-Learning
A model-free off-policy temporal-difference method that estimates the optimal Q-function via a Bellman optimality update from observed transitions.
- AI fundamentals & models
Quadratic Attention Cost
With full self-attention, relationships between token pairs are calculated; their number grows quadratically with sequence length.
- AI fundamentals & models
Quality Drift
Quality drift refers to a change in the measured outcome quality over time, for example due to different inputs, data, or system states.
- AI fundamentals & models
Quality Filter
A quality filter only allows elements that meet defined criteria to pass, such as completeness, readability, or permissible values.
- AI fundamentals & models
Quantile
A quantile marks a value below which a certain proportion of a distribution lies; calculation conventions differ for samples.
- AI fundamentals & models
Quantile Regression
Quantile regression models a chosen quantile of a target variable depending on input features, for example, an upper threshold of expected delivery times.
- AI fundamentals & models
Quantization
Mapping values onto a smaller set of discrete representation levels, often with lower bit width. The goal is reduced memory and bandwidth requirements and, on suitable hardware, possibly less computational effort.
- AI fundamentals & models
Quantization-Aware Training (QAT)
Training or fine-tuning with simulated quantization operations so that weights and, if applicable, activations are adapted to the discrete numerical formats used later.
- AI fundamentals & models
Quantized Low-Rank Adaptation (QLoRA)
A parameter-efficient fine-tuning method where the frozen weights of the base model are stored quantized and only added LoRA adapters are trained.
- AI fundamentals & models
Quantum Machine Learning
Quantum-based machine learning investigates how quantum computations can support learning methods or how learning methods can be applied to quantum systems.
- AI fundamentals & models
Quasi-Experiment
An investigative design to estimate causal effects without random assignment by researchers. It uses a justified comparison design and design-dependent identification assumptions.
- AI fundamentals & models
Query, Key and Value (QKV)
Three projections of an attention mechanism: similarity scores are derived from query and key vectors, which weight and merge the value vectors.
- AI fundamentals & models
Question Answering
A method that generates or extracts a suitable answer from knowledge, documents, or a model for a natural language question.
- AI fundamentals & models
Question Decomposition
Splitting a complex question into smaller sub-questions that are answered separately and then combined.
- AI fundamentals & models
Qwen
Qwen refers to a model family developed by Alibaba with different sizes and task profiles; characteristics depend on the specific model and version.
- AI fundamentals & models
R-Squared (R²)
A metric that expresses the proportion of variation explained by a regression model in the respective model context.
- AI fundamentals & models
RAG Poisoning
An attack in which manipulated content is introduced into a retrievable knowledge base or its ingestion pipeline to deliberately influence retrieval and downstream answers.
- AI fundamentals & models
Random Search
An optimization method that randomly draws and evaluates configurations from defined value ranges.
- AI fundamentals & models
Reasoning Model
A non-uniformly standardized model category for language models optimized for multi-step problem solving and additional computational effort during inference.
- AI fundamentals & models
Reasoning Tokens
Reasoning models generate reasoning tokens in addition to input and output tokens to process the task. According to documentation from OpenAI and Microsoft (Azure OpenAI), these do not appear as response text but occupy space in the context window and are billed like output tokens; their number depends on the task difficulty according to the manufacturers and ranges from several hundred to tens of thousands.
- AI fundamentals & models
Recall at k
The proportion of relevant items contained within the first k returned results.
- AI fundamentals & models
Recency Bias
The systematic overweighting of newer observations compared to older, possibly equally relevant information.
- AI fundamentals & models
Recommender System
A system that prioritizes objects or content likely relevant to users based on data.
- AI fundamentals & models
Rectified Linear Unit (ReLU)
An activation function that sets negative inputs to zero and passes positive inputs unchanged.
- AI fundamentals & models
Recurrent Neural Network (RNN)
A neural network that passes an internal state through a sequence, thereby considering earlier inputs.
- AI fundamentals & models
Red Teaming
A controlled test in which an independent team realistically simulates attack paths and abusive use.
- AI fundamentals & models
Regression
A model class for estimating a numerical target variable or a conditional relationship from explanatory variables.
- AI fundamentals & models
Regularization
Methods that limit model complexity or parameter behavior to improve generalization or promote desired structures.
- AI fundamentals & models
Reinforcement fine-tuning
Reinforcement Fine-Tuning adapts an already trained model using evaluations of its outputs. An evaluation procedure, often called a grader, provides a learning signal for this. Crucially, the evaluation must reliably represent the desired task; a high evaluation score alone does not prove general quality.
- AI fundamentals & models
Reinforcement Learning
A learning paradigm in which an agent learns a strategy to maximize expected cumulative reward through interaction.
- AI fundamentals & models
Reinforcement Learning from AI Feedback (RLAIF)
A training approach in which an AI system generates evaluations, critiques, or preference labels from which a reward model or other feedback signal is derived for subsequent optimization with reinforcement learning.
- AI fundamentals & models
Reinforcement Learning from Execution Feedback (RLEF)
RLEF uses reinforcement learning with execution feedback so that code language models learn to use feedback from tests or program runs for better solutions.
- AI fundamentals & models
Reinforcement Learning from Human Feedback (RLHF)
In the narrow sense, a training pipeline that converts human preference data into a learned reward signal and then optimizes a model policy with reinforcement learning. The term is sometimes used more broadly but is not synonymous with every direct preference optimization.
- AI fundamentals & models
Reparameterization Trick
A method that expresses random variables as a deterministic function of independent noise and differentiable parameters so that gradients can be estimated.
- AI fundamentals & models
Reproducibility
The possibility to reproduce or verifiably confirm a result with documented data, methods, code, and environment.
- AI fundamentals & models
Residual Connection
A connection that adds or forwards the input of a network block to its transformed output.
- AI fundamentals & models
ResNet
A family of deep neural networks that uses residual blocks with skip connections to make very deep models more trainable.
- AI fundamentals & models
Response Generation
The creation of an output from inputs, context, and system rules, often by a language model or a rule-based system.
- AI fundamentals & models
RetNet
A sequence model architecture with retention mechanism that combines parallel representation for training, recurrent representation for stepwise inference, and a chunkwise recurrent variant.
- AI fundamentals & models
Reward Hacking
A behavior where a learning system maximizes the formal reward without reliably accomplishing the intended task.
- AI fundamentals & models
Reward Model
A model that evaluates inputs or outputs with a scalar reward value and thereby guides training or selection.
- AI fundamentals & models
Ring Attention
A method for distributed, block-wise computation of exact attention over long sequences, where key and value blocks are passed around in a ring between devices.
- AI fundamentals & models
RMSNorm
A normalization layer that scales an activation vector by its root mean square including a stabilization term and typically uses a learnable gain, but does not subtract the mean.
- AI fundamentals & models
RMSprop
An adaptive gradient method that scales the learning step of each parameter based on an exponentially weighted moving average of its squared gradients.
- AI fundamentals & models
Robustness Testing
A planned test of how stable a system operates under specified disturbances, distribution changes, edge cases, or partial failures. Robustness test, load test, OOD test, and adversarial test are overlapping but not identical types of tests.
- AI fundamentals & models
ROC Curve
A curve that plots the true positive rate against the false positive rate for all decision thresholds.
- AI fundamentals & models
Root Mean Squared Error (RMSE)
The square root of the mean of squared residuals or prediction errors. RMSE is in the unit of the target variable and weights large errors more heavily than MAE.