Notice: Due to an ongoing migration of our storage and publishing system, material requested since last month will not be uploaded for the time being, and new requests are paused. All existing notes remain available.

Unit 3 MCQs Deep Learning Sequence Models for NLP

CSE472 — Deep Learning For Natural Language Processing 60 questions. Pick an option to check it.

Read the notes Subjective questions

0 of 60 answered 0 right 0 wrong , 60 left

  1. Question 1 of 60 Sequential text data Easy

    Why is text commonly treated as sequential data?

  2. Question 2 of 60 Sequential text data Easy

    What is a token in a text sequence?

  3. Question 3 of 60 Recurrent neural networks Easy

    What allows a recurrent neural network to use information from earlier time steps?

  4. Question 4 of 60 Recurrent neural networks Easy

    Which type of input is an RNN especially designed to process?

  5. Question 5 of 60 Long short-term memory networks Easy

    What is the main purpose of an LSTM network?

  6. Question 6 of 60 Long short-term memory networks Easy

    Which LSTM component decides what information should be removed from the cell state?

  7. Question 7 of 60 Gated recurrent units Easy

    Which two gates are commonly used in a GRU?

  8. Question 8 of 60 Gated recurrent units Easy

    How does a GRU generally compare with an LSTM?

  9. Question 9 of 60 Bidirectional RNNs Easy

    How does a bidirectional RNN process a sequence?

  10. Question 10 of 60 Bidirectional RNNs Easy

    What is a key benefit of a bidirectional RNN for text processing?

  11. Question 11 of 60 Sequence modeling applications Easy

    Which task is a common application of sequence modeling?

  12. Question 12 of 60 Sequence modeling applications Easy

    In next-word prediction, what does a sequence model predict?

  13. Question 13 of 60 Sentiment classification Easy

    What does sentiment classification usually identify in a text?

  14. Question 14 of 60 Sentiment classification Easy

    Which label would a basic sentiment classifier most likely assign to the review "I loved this movie"?

  15. Question 15 of 60 Text classification Easy

    What is the goal of text classification?

  16. Question 16 of 60 Text classification Easy

    Which task is an example of text classification?

  17. Question 17 of 60 Sequence training techniques Easy

    What is padding used for when training sequence models in batches?

  18. Question 18 of 60 Teacher forcing Easy

    What is supplied as the next decoder input during teacher forcing?

  19. Question 19 of 60 Truncated backpropagation through time Easy

    What does truncated backpropagation through time limit during training?

  20. Question 20 of 60 Evaluation metrics for sequence tasks Easy

    Which metric measures the proportion of predicted positive cases that are actually positive?

  21. Question 21 of 60 Sequential text data Medium

    Why is word order important when representing a sentence for a sequence model?

  22. Question 22 of 60 Recurrent neural networks Medium

    At time step , which information is typically used by a vanilla RNN to compute its hidden state?

  23. Question 23 of 60 Recurrent neural networks Medium

    An RNN performs well on short sequences but loses information from the beginning of very long sequences. Which problem most directly explains this behavior?

  24. Question 24 of 60 Long short-term memory networks Medium

    What is the main purpose of the forget gate in an LSTM?

  25. Question 25 of 60 Long short-term memory networks Medium

    For a sentiment classifier, why might an LSTM outperform a vanilla RNN when a sentiment cue appears far earlier than the final classification decision?

  26. Question 26 of 60 Gated recurrent units Medium

    Which statement best describes a key difference between a GRU and an LSTM?

  27. Question 27 of 60 Gated recurrent units Medium

    A GRU's update gate tends to remain highly open for a time step. What behavior does this usually encourage?

  28. Question 28 of 60 Bidirectional RNNs Medium

    Why is a bidirectional RNN useful for named-entity recognition in a completed sentence?

  29. Question 29 of 60 Bidirectional RNNs Medium

    Which limitation should be considered when using a bidirectional RNN for real-time speech transcription?

  30. Question 30 of 60 Sequence modeling applications Medium

    Which task is most naturally modeled as sequence-to-sequence learning?

  31. Question 31 of 60 Sequence modeling applications Medium

    In sequence labeling, how does the model output usually differ from document classification?

  32. Question 32 of 60 Sentiment classification Medium

    A review says, "The camera is small, but the battery life is excellent." What is the main challenge in assigning an overall sentiment label?

  33. Question 33 of 60 Text classification Medium

    Why can a recurrent model be preferable to a bag-of-words classifier for detecting whether a message is a question?

  34. Question 34 of 60 Text classification Medium

    A dataset has 95% negative examples and 5% positive examples. Which evaluation choice gives the clearest view of positive-class performance?

  35. Question 35 of 60 Sequence training techniques Medium

    Why are padding masks used when training on a batch of variable-length sequences?

  36. Question 36 of 60 Sequence training techniques Medium

    A sequence model overfits its training set while achieving much worse validation performance. Which technique is a reasonable response?

  37. Question 37 of 60 Teacher forcing Medium

    During teacher forcing for next-token prediction, what is fed to the decoder at time ?

  38. Question 38 of 60 Teacher forcing Medium

    What is a common drawback of using teacher forcing during training but relying only on model predictions during inference?

  39. Question 39 of 60 Truncated backpropagation through time Medium

    What is the primary purpose of truncated backpropagation through time?

  40. Question 40 of 60 Truncated backpropagation through time Medium

    If the truncation window is too short, which behavior is most likely?

  41. Question 41 of 60 Sequential text data Hard

    A batch contains right-padded sequences with true lengths . A unidirectional RNN processes all seven time steps without packing or masking, and its hidden state is updated normally for padding tokens. Which representation should be used to classify the second sequence while preserving its intended semantics?

  42. Question 42 of 60 Recurrent neural networks Hard

    For a linearized RNN, , suppose is normal and has spectral radius . Ignoring loss-specific factors, what is the asymptotic behavior of the gradient contribution propagated across recurrent steps?

  43. Question 43 of 60 Long short-term memory networks Hard

    An LSTM uses . Along one cell dimension, assume indirect dependencies through the gates are ignored and for 200 steps. Approximately what fraction of a gradient on reaches through the direct cell-state path?

  44. Question 44 of 60 Gated recurrent units Hard

    A GRU has input size and hidden size . Each of its reset, update, and candidate computations has an input matrix, a recurrent matrix, and one bias vector. Excluding embeddings and output layers, how many trainable scalar parameters does it have?

  45. Question 45 of 60 Bidirectional RNNs Hard

    A bidirectional RNN is trained for token-level prediction using the entire sentence. The system must later emit each prediction immediately as a token arrives in a live stream. What is the central deployment incompatibility?

  46. Question 46 of 60 Sequence modeling applications Hard

    A named-entity recognizer independently predicts BIO tags and frequently outputs illegal transitions such as O I-PER. Which modification most directly models dependencies between adjacent output labels while retaining neural token representations?

  47. Question 47 of 60 Sentiment classification Hard

    A document-level sentiment model uses only the final hidden state of a unidirectional RNN. Reviews are truncated to their last 200 tokens, but sentiment-changing premises often occur near the beginning. Which change most directly preserves those premises without increasing the 200-token limit?

  48. Question 48 of 60 Text classification Hard

    In a multilabel text classifier, each label is trained with binary cross-entropy. Label A is common and Label B is rare, and their score distributions differ substantially. Which validation procedure is most appropriate when the target metric is macro-?

  49. Question 49 of 60 Sequence training techniques Hard

    During sequence-model training, scheduled sampling increasingly replaces gold previous tokens with model-generated tokens. Which theoretical issue can remain even if this improves robustness at inference time?

  50. Question 50 of 60 Teacher forcing Hard

    A decoder trained with full teacher forcing has low validation loss when conditioned on gold prefixes but produces poor long free-running sequences. Which explanation best identifies the mismatch?

  51. Question 51 of 60 Truncated backpropagation through time Hard

    A stateful RNN processes a long stream in consecutive chunks of 50 steps. The final hidden value of each chunk initializes the next chunk, but it is detached from the computation graph at every boundary. Which statement is correct?

  52. Question 52 of 60 Evaluation metrics for sequence tasks Hard

    A language model has average negative log-likelihood nats per token on a corpus. What is its token-level perplexity?

  53. Question 53 of 60 Evaluation metrics for sequence tasks Hard

    Two translation systems are evaluated with BLEU. System X produces fluent paraphrases with few exact reference -grams, while System Y copies many reference phrases but occasionally changes critical meanings. Which limitation of BLEU is most directly illustrated?

  54. Question 54 of 60 Long short-term memory networks Hard

    For an LSTM, . Suppose a cell stores useful information with , but is nearly zero. What follows at time ?

  55. Question 55 of 60 Gated recurrent units Hard

    Consider the GRU convention . If is approximately zero in every dimension, what behavior results?

  56. Question 56 of 60 Sequential text data Hard

    A model mean-pools token representations for text classification. A minibatch is right-padded, and padding vectors are zeros before entering a recurrent encoder. Why must the pooling operation still use a length mask?

  57. Question 57 of 60 Bidirectional RNNs Hard

    A bidirectional LSTM has hidden size in each direction and concatenates its forward and backward states at every token. A linear token classifier predicts classes. Ignoring bias, what is the classifier weight matrix shape under the convention ?

  58. Question 58 of 60 Text classification Hard

    A binary text classifier is evaluated on 10,000 examples, of which only 100 are positive. It predicts every example as negative. Which metric can appear deceptively strong despite total failure on the positive class?

  59. Question 59 of 60 Sequence training techniques Hard

    An RNN occasionally produces extremely large gradient norms because products of recurrent Jacobians amplify particular directions. Which intervention directly bounds the magnitude of each parameter update while largely preserving the gradient direction?

  60. Question 60 of 60 Evaluation metrics for sequence tasks Hard

    A BIO-tagged NER prediction identifies the correct entity type but extends the entity by one token beyond the gold boundary. Under strict entity-level micro-, how is this single predicted span counted?

That's unit 3

Answer a few questions and your score shows up here.