Skip to content

    AI fundamentals & models · Page 7

    AI models, how they work and the limits of automatically generated answers.

    860 terms · Page 7 of 15

    1. AI fundamentals & models

      Joint Distribution

      It maps dependencies between variables; marginal and conditional distributions can be derived from this. Correlation is only a limited aspect of this relationship.

    2. AI fundamentals & models

      k-Armed Bandit

      The core problem is the trade-off between exploring new options and exploiting the best option so far. Unlike full reinforcement learning, the classic bandit has no complex state transitions.

    3. AI fundamentals & models

      k-Fold Cross-Validation

      In each run, k-1 folds are used for training and one fold for validation. The results are aggregated to obtain more stable estimates than with a single random split.

    4. AI fundamentals & models

      k-Means

      The method typically minimizes the sum of squared distances within clusters. Result and quality strongly depend on scaling, distance metric, k, and initialization.

    5. AI fundamentals & models

      k-Means++

      The first center is chosen randomly; further centers are chosen with higher probability where points are far from existing centers. Then ordinary k-Means proceeds.

    6. AI fundamentals & models

      k-Nearest Neighbors (kNN)

      For a new input, the nearest data points are searched according to a distance metric; their classes or values determine the output. The method essentially stores the training data instead of learning a parametric model.

    7. AI fundamentals & models

      Kahneman–Tversky Optimization (KTO)

      The method formulates a prospect-theory-inspired utility function and optimizes desired versus undesired responses. It is a post-training approach and not a general inference method.

    8. AI fundamentals & models

      Kalman Filter

      It combines a process model with new measurements and weights both according to their uncertainty. The classical filter assumes linear dynamics and certain noise assumptions.

    9. AI fundamentals & models

      Kaplan–Meier Estimator

      It calculates the probability of not having experienced an event by a certain time as the product of conditional survival probabilities. Censoring must be correctly modeled.

    10. AI fundamentals & models

      Kernel Trick

      This method avoids explicitly calculating high-dimensional features. It is especially associated with Support Vector Machines and Kernel PCA.

    11. AI fundamentals & models

      Knowledge Cutoff

      It depends on the model and does not mean that all information up to this date is contained or correct. With web, file, or retrieval tools, a system can obtain more current data.

    12. AI fundamentals & models

      Knowledge Distillation

      In the teacher-student process, information from a teacher model or ensemble is used for training a student model, such as probability distributions. A smaller model can be cheaper to operate, but does not automatically reach the quality of the teacher.

    13. AI fundamentals & models

      Knowledge Graph Embedding

      Models like TransE learn representations in which known relationships are geometrically modeled. The embeddings can be used for link prediction or similarity.

    14. AI fundamentals & models

      Knowledge Tracing

      The estimation of a person's latent learning state from temporal sequences of tasks and answers.

    15. AI fundamentals & models

      KV-Cache

      During generation, previous attention states do not need to be fully recomputed for each new token. This reduces computation but increases memory usage.

    16. AI fundamentals & models

      L1 Regularization

      It can shrink weights exactly to zero, promoting sparse models or feature selection. The effect depends on scaling and regularization strength.

    17. AI fundamentals & models

      L2 Regularization

      It typically pulls weights continuously toward zero without usually setting them exactly to zero. With optimizers, "weight decay" is not always mathematically identical to L2 regularization.

    18. AI fundamentals & models

      Label Leakage

      This can cause a model to achieve unrealistically good offline results because it uses signals that would not be available at the actual prediction time.

    19. AI fundamentals & models

      Label Smoothing

      Instead of assigning probability 1 to the correct class and 0 to all others, a small portion is distributed. This can reduce overconfidence but is not beneficial for every task.

    20. AI fundamentals & models

      Label Studio

      Label Studio is an open-source tool for data annotation. It supports various data types, configurable labeling interfaces, and integration of model predictions into the workflow.

    21. AI fundamentals & models

      LAMB Optimizer

      The method was developed for large-batch training of large models. Later work showed its advantages are not universal and strong standard optimizers can compete.

    22. AI fundamentals & models

      Language Model

      Modern neural language models mostly operate on tokens and are trained autoregressively or with masking objectives. A language model is not automatically a large language model.

    23. AI fundamentals & models

      Large Behavior Model

      The Large Behavior Model (LBM) is a research approach that uses a language model to simulate individual customer behavior. It combines a persistent behavioral profile from historical transactions with a dynamic decision environment provided at runtime via retrieval.

    24. AI fundamentals & models

      Large Language Model (LLM)

      A large language model is trained on extensive data and processes language based on learned statistical patterns. During text generation, it selects successive tokens. Liquid outputs can be factually wrong; the task and model variant determine the suitability.

    25. AI fundamentals & models

      LARS Optimizer

      It was developed to stabilize training of large image models with greatly increased batch sizes. Benefit depends on the workload.

    26. AI fundamentals & models

      Latent Diffusion

      An autoencoder compresses images; the diffusion model operates on these latent representations and then decodes them back. This can reduce computational effort.

    27. AI fundamentals & models

      Latent Space

      Nearby points can have similar properties, but axes do not have to be directly human-interpretable. The space arises from the model and training objective.

    28. AI fundamentals & models

      Latent Variable

      Latent variables can represent hidden factors, classes, or states. Their interpretation depends on the model and is not automatically unique.

    29. AI fundamentals & models

      Layer Dropping

      LayerDrop trains transformers with structured dropout on entire layers so that subnetworks of reduced depth can be used during inference.

    30. AI fundamentals & models

      Layer Normalization

      Unlike batch normalization, LayerNorm does not require batch statistics and is therefore well suited for sequence models and transformers.

    31. AI fundamentals & models

      Leaky ReLU

      It aims to reduce the problem of permanently inactive ReLU units. The negative slope parameter is a model decision.

    32. AI fundamentals & models

      Learning Rate

      Too high values can make training unstable; too low values slow it down or lead to suboptimal optimization. Effective step size also depends on the optimizer.

    33. AI fundamentals & models

      Learning Rate Finder

      The method provides a starting range for the learning rate but does not replace full validation. Implementations vary.

    34. AI fundamentals & models

      Learning Rate Schedule

      Typical strategies are Warmup, Step Decay, Cosine Decay, or plateau-based adjustment. The schedule influences stability and convergence.

    35. AI fundamentals & models

      Lemmatization

      Unlike simple stemming, it typically considers part of speech and linguistic rules. This allows "ging" and "gehen" to be merged.

    36. AI fundamentals & models

      Length Penalty

      Without adjustment, sums of log-probabilities can systematically favor longer or shorter sequences. Specific formulas vary between implementations.

    37. AI fundamentals & models

      LiDAR

      A sensor emits laser pulses and measures the reflection time. From this, geometry and the environment can be captured three-dimensionally.

    38. AI fundamentals & models

      LIME

      The method generates perturbed examples, queries the black-box model, and fits a locally interpretable surrogate. Explanations can be unstable with small changes.

    39. AI fundamentals & models

      Linear Attention

      Methods use kernel tricks, factorizations, or other transformations to avoid the full attention matrix. Quality and actual hardware efficiency vary greatly.

    40. AI fundamentals & models

      Link Prediction

      Methods use structure, node features, or graph embeddings. A high model probability does not mean the relationship actually exists.

    41. AI fundamentals & models

      Lion Optimizer

      It requires less optimizer state than Adam because no second moment is stored. The authors report advantages in several workloads but not universally.

    42. AI fundamentals & models

      Llama

      Llama is a family of large language models from Meta. The models are provided in different sizes and variants; their capabilities, context lengths, licenses, and security components depend on the respective generation and release.

    43. AI fundamentals & models

      LLM Evaluation

      Public benchmarks are rarely sufficient. Good evaluations combine custom test cases, automatic metrics, human evaluation, and, if applicable, LLM-as-a-Judge.

    44. AI fundamentals & models

      LLM-as-a-Judge

      The method can generate pairwise comparisons, scores, or justifications and scale evaluation. However, LLM-Judges exhibit biases, including position, verbosity, or self-preference effects.

    45. AI fundamentals & models

      LMSYS

      LMSYS, short for Large Model Systems, is a nonprofit organization promoting open AI models, datasets, systems, and evaluation tools. Its well-known projects include SGLang, FastChat, and the now spun-off Chatbot Arena.

    46. AI fundamentals & models

      Locality-Sensitive Hashing (LSH)

      The method enables approximate similarity search without comparing every vector exactly with every other. Different LSH families fit different distance measures.

    47. AI fundamentals & models

      Log Loss

      For binary classification, Log Loss corresponds to the negative log-likelihood of the Bernoulli/logistic model; multiclass variants use cross-entropy over class probabilities.

    48. AI fundamentals & models

      Log-Likelihood

      For independently modeled observations, the product of probabilities or densities becomes the sum of their logarithms. This facilitates numerical calculation; the maximizing parameters remain the same.

    49. AI fundamentals & models

      Logit

      In binary logistic regression, the logit is log(p/(1-p)). In neural classifiers, raw scores before probability normalization are often also called logits.

    50. AI fundamentals & models

      Logit-Bias

      Depending on the API or implementation, positive or negative values are added to token logits. This is a controlling intervention in decoding, not a guarantee of a specific outcome.

    51. AI fundamentals & models

      LogSumExp

      The identity typically subtracts the maximum value before exponentiation and reduces numerical issues through stable computation. It frequently appears in softmax and probabilistic calculations.

    52. AI fundamentals & models

      Long Context

      A large nominal context window does not mean that information at every position is used equally reliably. Retrieval, structuring, and positional effects remain important.

    53. AI fundamentals & models

      Long Context Management

      Techniques include retrieval, summarization, chunk selection, relevance filtering, memory, and context compression. The term is a practice, not a single algorithm.

    54. AI fundamentals & models

      Long Short-Term Memory (LSTM)

      In today’s common variants, the memory cell as well as input, forget, and output gates control the information flow. LSTMs have been widely used especially for speech and time series.

    55. AI fundamentals & models

      Long-Context Processing Cost

      Long inputs must be processed and taken into account during generation. The effort depends on architecture, infrastructure, caching and tariff. The raw designation Context-Window-Tax is not a standardized tax or metric. Calculation effort and possible quality losses shall be measured separately.

    56. AI fundamentals & models

      Lookahead Optimizer

      A base optimizer performs several fast-weight steps; then slow weights move toward the fast weights. This can improve training stability but not in every workload.

    57. AI fundamentals & models

      LoRA vs. Full Fine-Tuning

      Full fine-tuning retrains all parameters of a pretrained model for a task. Low-Rank Adaptation (LoRA) freezes pretrained weights and learns small low-rank matrices for selected layers, requiring significantly fewer parameters to be trained and stored.

    58. AI fundamentals & models

      Loss Function

      A function that expresses the deviation between model behavior and training goal as a value to be minimized.

    59. AI fundamentals & models

      Loss Landscape

      In deep networks, this space is high-dimensional and non-convex. Visualizations show only projections and can be distorted by parameterization.

    60. AI fundamentals & models

      Lottery Ticket Hypothesis

      "Winning tickets" are typically found through pruning experiments. The hypothesis inspired research on sparsity and pruning but is not a general guarantee for every model.

    Back to all topics