Curated

ML Model and Foundation Model (FM) Development (2.1–2.3)

0 votes

All cards94

  1. The feature attribution method ___ uses cooperative game theory to allocate the difference between a prediction and a baseline among features according to their marginal contributions across feature coalitions.

    SHAP

  2. The optimization problem ___ produces excessively large derivatives during neural network training, causing unstable parameter updates or numerical overflow and often requiring gradient clipping.

    Exploding gradient

  3. The optimization problem ___ occurs when repeated multiplication by small activation derivatives during backpropagation leaves earlier neural network layers with near-zero parameter updates.

    Vanishing gradient

  4. A ___ is one training iteration, typically involving processing a batch and updating model parameters.

    Step

  5. Without gradient accumulation, ___ specifies how many training examples are processed together before each optimizer update, rather than how many times the dataset is revisited.

    Batch size

  6. In standard stochastic gradient descent without momentum, the ___ is the hyperparameter that scales the negative gradient to determine the parameter change at each update.

    Learning rate

  7. The approach ___ reduces inference cost by handling straightforward requests with a cheaper model and forwarding only difficult cases to a more capable model.

    Model cascading

  8. In distributed training with nonoverlapping data shards and no dropped or repeated examples, one ___ is complete when the workers collectively process the entire training dataset, even though each worker sees only its own shard.

    Epoch

  9. The managed AWS service ___ adds human review to machine learning predictions through configurable review workflows that can route low-confidence results to reviewers.

    Amazon A2I

  10. The resampling method ___ evaluates generalization across repeated training and validation partitions and, when used for both hyperparameter selection and performance estimation, requires separate inner and outer loops to avoid selection bias.

    Cross-validation

  11. A process that incorporates people into reviewing, labeling, judging, or correcting automated system results is a ___.

    Human-in-the-loop workflow

  12. The classification metric ___ is the harmonic mean of precision and recall, so a low value for either limits the combined result even when the other is high.

    F1 score

  13. The evaluation practice ___ uses separate criteria for relevance, factual accuracy, coherence, and fluency so that polished generated language does not conceal unsupported claims.

    Text generation quality assessment

  14. A request that includes task instructions and retrieved factual context but no worked input-output demonstrations still uses ___, because supporting evidence is not itself a task demonstration.

    Zero-shot prompting

  15. Instead of adding a penalty term to the loss, ___ subtracts a small fraction of each weight at every optimizer update to keep weights small and reduce overfitting.

    Weight decay

  16. The technique ___ supplies a small set of input-output demonstrations within the request to establish the desired behavior without updating model parameters.

    Few-shot prompting

  17. Without updating model parameters, ___ tailors instructions, context, and illustrative examples to a particular task's output schema, domain constraints, and acceptance criteria.

    Task-specific prompt engineering

  18. After initial retrieval, ___ reassesses query-candidate relevance to reorder the candidate set rather than generating new document embeddings.

    Reranking

  19. The degree to which two pieces of text convey the same meaning despite different wording is called ___.

    Semantic similarity

  20. For a fixed evaluation token sequence and tokenization, ___ equals the exponential of the mean negative natural-log probability assigned to the observed tokens, with lower values indicating better predictive fit.

    Perplexity

  21. The text generation metric ___ clips candidate n-gram match counts to reference counts and combines modified n-gram precisions with a brevity penalty.

    BLEU

  22. The metric family ___ commonly evaluates summaries through generated-reference overlap, with variants based on n-grams or longest common subsequences.

    ROUGE

  23. The metric ___ matches contextual token embeddings between generated and reference text to calculate precision, recall, and F1 rather than requiring exact token matches.

    BERTScore

  24. (image)

    These implementations, libraries, and execution approaches support model development and training with distinct data, computation, and artifact-handling conventions.

  25. (image)

    These concepts govern configuration search, trial resource allocation, and the execution efficiency of model training.

  26. The practice ___ checks generated material for completeness, internal consistency, and safety rather than treating successful formatting alone as evidence of acceptable material.

    Content quality validation

  27. The evaluation approach ___ supplies a language model with a scoring rubric and candidate responses so that it can assign ratings or express pairwise preferences.

    LLM-as-a-judge

  28. The general practice of checking a model's predictions or generated responses against defined task requirements and evaluation criteria is called ___.

    Model output assessment

  29. The text evaluation metric ___ aligns candidate and reference words through exact, stem, and synonym matches, combining precision and recall with a penalty for fragmented word order.

    METEOR

  30. Comparing false-negative rates across demographic groups among examples with positive ground-truth labels is a form of ___ that can reveal systematic disparities hidden by aggregate accuracy.

    Bias detection

  31. When evaluating a RAG retriever against relevance labels, ___ at k is the fraction of the top k retrieved passages that are relevant to the query.

    Precision

  32. The metric ___ divides the number of relevant items in the highest-ranked k results by the total number of relevant items for the query, rather than by k.

    Recall@k

  33. The extent to which a generated response is supported by its supplied source context is called ___.

    Faithfulness

  34. A factually accurate generated response can still exhibit ___ if it contains abusive, hateful, or threatening language, because factual correctness does not establish content safety.

    Toxicity

  35. The metric ___ averages the reciprocal of the first relevant result's rank across evaluated queries, assigning zero when no relevant result is found.

    MRR

  36. (image)

    These concepts describe basic controls and techniques for training models and organizing their predictions.

  37. (image)

    These concepts describe how training is distributed and how learned parameters affect generalization and retained capabilities.

  38. (image)

    These concepts control parameter optimization, guide model behavior through inputs, or improve the ordering of retrieved context.

  39. (image)

    These concepts support reproducible development and meaningful comparisons between machine learning runs.

  40. (image)

    These concepts help assess deployed model behavior and evaluate candidates without disrupting client predictions.

  41. (image)

    These concepts support interpreting predictions, recognizing training problems, and assessing predictive quality.

  42. (image)

    These concepts support the review of machine learning results and generated language through people, managed services, or automated metrics.

  43. (image)

    These concepts evaluate retrieval-augmented generation by separating evidence retrieval, response grounding, harmful language, and automated judging.

  44. (image)

    These concepts distinguish predictive fit, reference agreement, meaning, task compliance, material acceptability, and group-level disparities in AI evaluation.