In the Transformer architecture, which of the following statements about the Q (query), K (key), and V (value) matrices is correct?
Correct Answer: C
In the transformer architecture, the Q (query), K (key), and V (value) matrices are used in the self-attention mechanism to compute relationships between tokens in a sequence. According to "Attention is All You Need" (Vaswani et al., 2017) and NVIDIA's NeMo documentation, the query vector (Q) represents the token seeking relevant information, the key vector (K) is used to compute compatibility with other tokens, and the value vector (V) provides the information to be retrieved. The attention score is calculated as a scaled dot- product of Q and K, and the output is a weighted sum of V. Option C is correct, as Q retrieves relevant information. Option A is incorrect, as Q, K, and V are not used for positional encoding. Option B is wrong, as attention scores are computed using both Q and K, not K alone. Option D is false, as positional embeddings are separate from V. References: Vaswani, A., et al. (2017). "Attention is All You Need." NVIDIA NeMo Documentation:https://docs.nvidia.com/deeplearning/nemo/user-guide/docs/en/stable/nlp /intro.html
Question 2
In the context of a natural language processing (NLP) application, which approach is most effective for implementing zero-shot learning to classify text data into categories that were not seen during training?
Correct Answer: D
Zero-shot learning allows models to perform tasks or classify data into categories without prior training on those specific categories. In NLP, pre-trained language models (e.g., BERT, GPT) with semantic embeddings are highly effective for zero-shot learning because they encode general linguistic knowledge and can generalize to new tasks by leveraging semantic similarity. NVIDIA's NeMo documentation on NLP tasks explains that pre-trained LLMs can perform zero-shot classification by using prompts or embeddings to map input text to unseen categories, often via techniques like natural language inference or cosine similarity in embedding space. Option A (rule-based systems) lacks scalability and flexibility. Option B contradicts zero- shot learning, as it requires labeled data. Option C (training from scratch) is impractical and defeats the purpose of zero-shot learning. References: NVIDIA NeMo Documentation: https://docs.nvidia.com/deeplearning/nemo/user-guide/docs/en/stable/nlp /intro.html Brown, T., et al. (2020). "Language Models are Few-Shot Learners."
Question 3
Which of the following tasks is a primary application of XGBoost and cuML?
Correct Answer: B
Both XGBoost (with its GPU-enabled training) and cuML offer GPU-accelerated implementations of machine learning algorithms, such as gradient boosting, clustering, and dimensionality reduction, enabling much faster model training and inference.
Question 4
Which metric is commonly used to evaluate machine-translation models?
Correct Answer: C
The BLEU (Bilingual Evaluation Understudy) score is the most commonly used metric for evaluating machine-translation models. It measures the precision of n-gram overlaps between the generated translation and reference translations, providing a quantitative measure of translation quality. NVIDIA's NeMo documentation on NLP tasks, particularly machine translation, highlights BLEU as the standard metric for assessing translation performance due to its focus on precision and fluency. Option A (F1 Score) is used for classification tasks, not translation. Option C (ROUGE) is primarily for summarization, focusing on recall. Option D (Perplexity) measures language model quality but is less specific to translation evaluation. References: NVIDIA NeMo Documentation: https://docs.nvidia.com/deeplearning/nemo/user-guide/docs/en/stable/nlp /intro.html Papineni, K., et al. (2002). "BLEU: A Method for Automatic Evaluation of Machine Translation."
Question 5
Which aspect in the development of ethical AI systems ensures they align with societal values and norms?
Correct Answer: D
Ensuring explicable decision-making processes, often referred to as explainability or interpretability, is critical for aligning AI systems with societal values and norms. NVIDIA's Trustworthy AI framework emphasizes that explainable AI allows stakeholders to understand how decisions are made, fostering trust and ensuring compliance with ethical standards. This is particularly important for addressing biases and ensuring fairness. Option A (prediction accuracy) is important but does not guarantee ethical alignment. Option B (complex algorithms) may improve performance but not societal alignment. Option C (autonomy) can conflict with ethical oversight, making it less desirable. References: NVIDIA Trustworthy AI:https://www.nvidia.com/en-us/ai-data-science/trustworthy-ai/