AI fundamentals & models · Page 2
AI models, how they work and the limits of automatically generated answers.
860 terms · Page 2 of 15
- AI fundamentals & models
Autoregressive Model
Autoregressive models describe a quantity based on previous values. In generative AI, the principle is often used to gradually continue a sequence, for example by predicting a next token from the previous tokens. Statistical AR models and autoregressive language models use the same basic principle but are not the same model.
- AI fundamentals & models
Backpropagation
In the case of backpropagation, the influence of the model parameters on the loss function is determined backwards by the computational graph after a forward run. The basis is the chain rule of differential calculus. An optimization method such as Gradient Descent then uses these gradients to change parameters; backpropagation itself is not the optimizer.
- AI fundamentals & models
Backtesting
In backtesting, a process is evaluated as if historical times were the present one after the other. For prognosis models, a rolling origin is often used: trained only with data that would have already been available at the time. Backtesting is particularly known from financial and time series applications.
- AI fundamentals & models
Backtracking
Backtracking builds a solution step by step. If a choice leads to an impasse, the procedure jumps back to the last decision point and tries an alternative. Conceptually, this often corresponds to a depth-first search in the tree of possible partial solutions.
- AI fundamentals & models
Backward Chaining
An inference method that starts from a goal and searches backward for rules and facts that can support this goal.
- AI fundamentals & models
Bag-of-Words Model
In the Bag-of-Words model, a vocabulary is constructed and each document is displayed as a vector over that vocabulary. Values can express, for example, the occurrence, the number or a weighting of terms. The order of the words is largely lost.
- AI fundamentals & models
Bagging (Bootstrap Aggregating)
Bagging creates multiple bootstrap samples from the same training dataset. A model is trained on each sample. For regression, predictions are typically averaged, combined for classification. The method can reduce the variance of unstable learning methods.
- AI fundamentals & models
Bandit-Based Recommender Systems
Bandit-based recommendation systems treat recommendations as a sequence of decisions with feedback. Contextual bandits also take into account information about the situation, users or content. Central is the conflict of goals between exploiting known good options and exploring new or uncertain options.
- AI fundamentals & models
Batch Normalization
In training, batch normalization calculates average and variance over a mini-batch, thus normalizing intermediate values and applying learnable parameters for scaling and shift. For the inference, stored running statistics are typically used. The procedure can stabilize training and enable higher learning rates.
- AI fundamentals & models
Batch Size
In mini-batch training, the data set is processed in groups. The local batch size affects storage requirements and throughput. In the case of gradient accumulation, gradients of several such groups are merged before a parameter update; the effective batch size is then greater. Batch size and learning rate should be coordinated together.
- AI fundamentals & models
Bayesian Optimization
Bayesian optimization learns from already tried-and-tested parameter combinations a surrogate model of the unknown target function. An acquisition function decides which point will be tested next to exploit promising areas and target uncertain areas.
- AI fundamentals & models
Beam Search
Beam Search extends several possible partial sequences in parallel, but discards all but the best k candidates after each step. The width k is called Beam Width. In language models, the method is used for sequence decoding, but is not guaranteed to be globally optimal.
- AI fundamentals & models
Bellman–Ford Algorithm
Bellman-Ford initializes distances and improves them repeatedly by relaxing all edges. After at most |V|-1 runs, the shortest paths are determined if no reachable negative cycle exists. An additional run can detect such cycles.
- AI fundamentals & models
Benchmark
A benchmark specifies data, tasks, metrics, and often an evaluation protocol. In AI and machine learning, models are compared on defined capabilities. A benchmark only measures what its tasks and metrics actually cover.
- AI fundamentals & models
Benchmark Contamination
Benchmark contamination occurs when a model has seen test data directly or indirectly before the actual evaluation. Then a high score can be based partly on recognition or reproduction instead of generalization. For web data and large language models, complete testing is often difficult.
- AI fundamentals & models
BERT
BERT processes text with a Transformer encoder and learns contextual information from both directions of a sequence. The original model was pre-trained on large unlabeled sets of text and then fine-tuned for tasks such as classification, question answering or sentence relationships.
- AI fundamentals & models
BERTScore
BERTScore assigns each token of the reference sentence to the most similar token of the candidate sentence (Recall) and vice versa (Precision). Similarity is the cosine similarity of contextual embeddings; an F1 score is computed from Precision and Recall. Optionally, rare words can be weighted more heavily using inverse document frequency (idf). In the authors' experiments, the metric correlated better with human judgments than existing metrics.
- AI fundamentals & models
Bias in AI and Machine Learning
“Bias” has several related meanings in machine learning. Statistical bias describes a systematic deviation of an estimator or model. In the context of responsible AI, bias also refers to systematic biases in data or system behavior that can affect groups differently. The concrete meaning must therefore always be stated.
- AI fundamentals & models
Bias–Variance Tradeoff
High bias models are often too inflexible and underfit; high variance models are highly responsive to specific training data and can overfit. In classically supervised learning problems, the bias-variance dilemma describes why model complexity must be chosen so that new data is generalized as well as possible.
- AI fundamentals & models
BIG-bench
BIG-bench (“Beyond the Imitation Game Benchmark”) brings together a large number of very different tasks from language, knowledge, mathematics, conclusions and other fields. The aim was to measure model behaviour more broadly than with individual standard benchmarks. BIG-bench Lite is a smaller subset.
- AI fundamentals & models
BLEU Score
BLEU compares n-grams of a generated translation with one or more references, uses modified n-gram precision, and a length penalty for too short outputs. The metric was developed for corpus comparisons and does not measure factual fidelity or complete semantic equivalence.
- AI fundamentals & models
Boosting
In boosting, basic models are created sequentially instead of independently. Depending on the method, incorrectly predicted examples are weighted more strongly or negative gradients of the loss function are learned; in the case of quadratic loss, these are the residuals. The individual models are combined to form an overall model. AdaBoost and Gradient Boosting are different boosting families.
- AI fundamentals & models
Bootstrapping
In the classical non-parametric bootstrap, the observed sample is used as an approximation for the unknown population. From this, many new samples of the same size are drawn. The distribution of a parameter calculated therefrom can be used to estimate uncertainty, standard errors or confidence intervals.
- AI fundamentals & models
Brier Score
In the binary Brier score, the difference between the predicted probability and the actual result is squared for each prediction and then averaged. Lower values are better. The score evaluates probability predictions overall and is not isolated as a measure for calibration only.
- AI fundamentals & models
Byte Pair Encoding (BPE)
BPE tokenization adapted for language models begins with small units and frequently occurring pairs are repeatedly merged. This creates a vocabulary of whole words, parts of words and smaller units. Rare or new words can thus be represented from known sections.
- AI fundamentals & models
Calibration
If a model outputs about 80% probability for many cases, then with good calibration approximately 80% of those cases should be correct. Calibration is different from pure accuracy.
- AI fundamentals & models
Cascading failures in agent systems
In chained agent systems, later steps often use results from earlier steps. If an incorrect intermediate state is adopted unchecked, the error can spread across multiple tools or agents. This refers to the propagation of an error, not every individual model mistake.
- AI fundamentals & models
Causal Inference
It uses experiments or explicit assumptions and models to estimate counterfactuals: What would have happened under a different intervention? Observational data alone require additional identification assumptions for this.
- AI fundamentals & models
Causal Masking
In the case of causal masking, a position may take into account only itself and previous positions. Transformer decoders block the attention to later tokens. Together with correctly shifted inputs by one position, this prevents later outputs from being used in the autoregressive prediction.
- AI fundamentals & models
Certified Robustness
With certified robustness, it is not only empirically tested whether known attacks fail. For a defined threat model, the stability of a prediction is ensured within a defined fault range. Depending on the procedure, deterministic or statistical guarantees with a specified confidence level apply. The statement only applies to the specifically certified conditions.
- AI fundamentals & models
Chain of Thought
In research, Chain of Thought refers to textual intermediate steps between task and response that can support complex inference. These visible justification steps are not equivalent to a complete or reliable insight into internal model states; modern systems can also use hidden internal reasoning.
- AI fundamentals & models
Change Point Detection
Change point detection searches for locations where the mean, variance, distribution, or other structural properties of a signal change. Methods can work offline on full data or online during a data stream. A detected change point is an indication of a structural change, not automatically of its cause.
- AI fundamentals & models
Character Error Rate (CER)
CER is typically calculated as (substitutions + deletions + inserts) divided by the number of reference characters. It is similar to the Word Error Rate, but works at the character level and is therefore useful for languages without clear word limits or OCR/ASR comparisons. Lower values are better.
- AI fundamentals & models
Churn Prediction
Churn Prediction uses historical customer, usage, contract or service data to estimate churn probabilities. The model provides a risk value or classification; meaningful measures require additional root cause analysis, cost-effectiveness and a clean target definition.
- AI fundamentals & models
CIDEr
CIDEr evaluates how strongly n-grams of a generated image description match the consensus of multiple human reference descriptions. For this purpose, n-grams are weighted with TF-IDF, so that characteristic formulations count more than very common words. The metric evaluates text similarity to references, not automatically image truth or general language quality.
- AI fundamentals & models
Citations in AI responses
Source citations in AI responses link statements to provided or researched sources. In web research, these can be clickable links with titles and references to the relevant part of the answer. A source citation facilitates verification but does not automatically prove that the source actually supports the statement.
- AI fundamentals & models
Class Imbalance
With strongly imbalanced classes, accuracy can be misleading. Suitable metrics, sampling, weighting, and thresholds depend on the error cost profile.
- AI fundamentals & models
Classification
Models learn decision boundaries or probabilities for categories from labeled examples. Variants range from binary to multiclass to multilabel classification.
- AI fundamentals & models
Classification Error Rate
In the case of classification, it often corresponds to one minus Accuracy, provided that the same set of cases and weighting is used.
- AI fundamentals & models
Classifier-Free Guidance (CFG)
Classifier-Free Guidance does not require a separate classifier. The diffusion model is trained in such a way that it can work both with and without condition; in the generation, both predictions are combined. A higher guidance score can increase conditional fidelity but deteriorate diversity and image quality.
- AI fundamentals & models
Claude
Claude refers to both the Anthropic model family and the associated applications. Depending on the product and version, Claude supports, among other things, long contexts, files, image comprehension, code, tool use and agentic working modes. The name should therefore always be specified with model version or product context.
- AI fundamentals & models
Claude Haiku
Haiku describes the particularly fast and cost-efficient model class within the Claude family. It is typically suitable for high request volume, classification, extraction, and other tasks where speed and cost are weighted more heavily than maximum model performance. Concrete capabilities change with each version.
- AI fundamentals & models
Claude Opus
Opus refers to the performance-oriented model class within the Claude family. It is offered for tasks where quality and problem solving are more important than minimal cost or latency. Features such as context, tool use and pricing are version-dependent.
- AI fundamentals & models
Claude Sonnet
Within the Claude family, Sonnet describes the balanced model class for demanding everyday, coding and agent tasks. It lies conceptually between the particularly fast haiku class and the performance-oriented opus class. Capabilities, context and prices are version-dependent.
- AI fundamentals & models
CLIP
CLIP was trained contrastively on image-text pairs: matching image and text representations should be closer together than inappropriate ones. This allows the model to compare or classify images based on natural language descriptions without classical task-specific training and serves as a building block in multimodal systems.
- AI fundamentals & models
Cloud-based AI model
A cloud-based AI model is provided for use on remote cloud infrastructure. Inputs are sent to the service and results returned. The term describes the operating location, not a specific model architecture or quality; model, provider, and concrete deployment must be considered separately.
- AI fundamentals & models
Clustering
Clustering tries to find groups in data so that elements within a cluster are as similar as possible according to a chosen similarity measure. Methods such as k-means, hierarchical clustering or DBSCAN use different assumptions about the shape, density and number of groups. Clusters are mathematical structures and not automatically technically meaningful segments.
- AI fundamentals & models
Code Interpreter
In the AI context, Code Interpreter refers to a tool with which a model executes code in a sandboxed runtime. OpenAI's implementation uses Python, processes provided files, and can generate calculations, analyses, and charts.
- AI fundamentals & models
Cohen's Kappa
Cohen’s kappa compares the observed agreement with the agreement that would be expected randomly among the marginal distributions. A value of 1 means complete agreement; 0 is the random agreement expected according to the model. Negative values are possible. The interpretation depends heavily on class distribution and application.
- AI fundamentals & models
Cohere
Cohere develops language, embedding and retrieval models as well as enterprise platforms such as North. In September 2026, Cohere signed a definitive agreement to merge with Aleph Alpha; the deal is still subject to regulatory approval.
- AI fundamentals & models
Cold-Start Problem
Many recommendation systems learn from past behavior. For new users or new products, these signals are initially missing, so that similarities and preferences can only be poorly estimated. Additional features, onboarding questions or hybrid procedures can help.
- AI fundamentals & models
Collaborative Filtering
The method uses interaction patterns such as ratings, purchases, or clicks without necessarily requiring detailed content features. Common variants are user-based, item-based, and matrix factorization.
- AI fundamentals & models
Command R
Command R is a cohere model for dialogue-based and company-related tasks with a focus on retrieval-augmented generation and tool use. The current documentation indicates that Cohere now recommends newer Command models such as Command A for most new use cases.
- AI fundamentals & models
Compute-Optimal LLM Training (Chinchilla)
DeepMind’s chinchilla work empirically showed that many large language models at the time used too many parameters and too few training tokens for their computing budget. For a fixed compute budget, a smaller model with more training data can achieve better performance. The concrete optimal scaling depends on assumptions and later research results.
- AI fundamentals & models
Computer Vision
Computer vision includes tasks such as image classification, object recognition, segmentation, tracking and OCR. Modern systems often use deep learning, vision transformers or multimodal models to derive structured information from visual data.
- AI fundamentals & models
Concept Drift
Concept drift changes the underlying pattern that a model has learned. The same entrance may later have a different meaning for the destination. This differs from pure data drift, in which only the distribution of inputs is shifted.
- AI fundamentals & models
Conditional Generation
A conditional generative model does not generate random samples, but models outputs depending on additional information. Conditions can be, for example, a prompt, a category, a reference image or structured features.
- AI fundamentals & models
Conformal Prediction
Conformal prediction generates prediction sets or intervals. Under suitable assumptions, such as exchangeability of the data, coverage guarantees apply for finite samples. The usual guarantee is marginal over calibration and test data, not for each individual case or subgroup.
- AI fundamentals & models
Confounding
In confounding, an observed relationship between two variables can be partially or completely explained by common causes. As a result, a statistical correlation cannot be interpreted as an effect without appropriate assumptions and causal analysis.
- AI fundamentals & models
Confusion Matrix
In binary classification, it contains true positives, false positives, true negatives, and false negatives. From this, among others, precision, recall, and accuracy are derived.