Unit 3: Deep Learning Sequence Models for NLP - Subjective Questions

CSE472 — Deep Learning For Natural Language Processing • Practice Questions with Detailed Answers

20 questions

1

Define sequential text data. Explain why the order of tokens is important when modeling natural language.

2

Explain the architecture and working of a basic recurrent neural network (RNN) for processing a text sequence.

3

Describe how an RNN is unrolled through time and derive the main idea of backpropagation through time.

4

Explain the vanishing-gradient and exploding-gradient problems in RNNs. State suitable remedies for each problem.

5

Describe the structure of a long short-term memory (LSTM) network and explain the roles of its gates.

6

Explain the architecture of a gated recurrent unit (GRU) and the functions of its update and reset gates.

7

Compare basic RNNs, LSTMs, and GRUs with respect to structure, parameter count, training behavior, and suitable applications.

8

What is a bidirectional RNN? Describe its operation and identify situations in which it cannot be used directly.

9

Distinguish among many-to-one, one-to-many, and many-to-many sequence modeling architectures, giving an NLP application for each.

10

Describe an RNN-based pipeline for sentiment classification, from tokenized text to the predicted sentiment label.

11

Explain how recurrent sequence models can be used for multiclass and multilabel text classification. How do their output layers and loss functions differ?

12

What is an encoder-decoder sequence model? Explain how it can be applied to machine translation or text summarization.

13

Define teacher forcing and explain its advantages, limitations, and use during sequence-model training.

14

Compare teacher forcing, free-running decoding, and scheduled sampling in sequence generation.

15

Explain truncated backpropagation through time (TBPTT). Why is it used, and what trade-off does it introduce?

16

Describe important sequence training techniques used to make recurrent NLP models stable and efficient.

17

Derive the cross-entropy loss and perplexity used to evaluate a sequence generation model. Interpret a lower perplexity value.

18

Define accuracy, precision, recall, and F1-score for a text classification task. When is F1-score more useful than accuracy?

19

Explain how token-level sequence labeling tasks are evaluated. Distinguish token accuracy from entity-level precision, recall, and F1-score.

20

Compare BLEU, ROUGE, and perplexity as evaluation metrics for sequence modeling applications. State one limitation of each.